Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: src/hydrogen.h

Issue 16871011: Reduce usage of AssumeRepresentation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/hydrogen.h
diff --git a/src/hydrogen.h b/src/hydrogen.h
index 3aff6eb3688807f83079bdef97c26d6f6ff8c36c..cefc1bb28adc43acce4bdc3171ba028ad5ea7bb1 100644
--- a/src/hydrogen.h
+++ b/src/hydrogen.h
@@ -1091,8 +1091,7 @@ class HGraphBuilder {
HInstruction* IfCompare(
HValue* left,
HValue* right,
- Token::Value token,
- Representation input_representation = Representation::Integer32());
+ Token::Value token);
HInstruction* IfCompareMap(HValue* left, Handle<Map> map);
@@ -1124,10 +1123,9 @@ class HGraphBuilder {
HInstruction* OrIfCompare(
HValue* p1,
HValue* p2,
- Token::Value token,
- Representation input_representation = Representation::Integer32()) {
+ Token::Value token) {
Or();
- return IfCompare(p1, p2, token, input_representation);
+ return IfCompare(p1, p2, token);
}
HInstruction* OrIfCompareMap(HValue* left, Handle<Map> map) {
@@ -1150,10 +1148,9 @@ class HGraphBuilder {
HInstruction* AndIfCompare(
HValue* p1,
HValue* p2,
- Token::Value token,
- Representation input_representation = Representation::Integer32()) {
+ Token::Value token) {
And();
- return IfCompare(p1, p2, token, input_representation);
+ return IfCompare(p1, p2, token);
}
HInstruction* AndIfCompareMap(HValue* left, Handle<Map> map) {
« no previous file with comments | « no previous file | src/hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698