Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index 1262b3177c888b85f3d32b8fdf30bebc4f6d7023..3c2b83114ce4898898257ec9939ddb7ad5026418 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -220,7 +220,6 @@ enum StringStubFeedback { |
// Forward declarations. |
// TODO(rossberg): these should all go away eventually. |
class Assignment; |
-class BinaryOperation; |
class Call; |
class CallNew; |
class CaseClause; |
@@ -231,7 +230,6 @@ class ForInStatement; |
class ICStub; |
class Property; |
class SmallMapList; |
-class UnaryOperation; |
class ObjectLiteral; |
class ObjectLiteralProperty; |
@@ -296,11 +294,11 @@ class TypeFeedbackOracle: public ZoneObject { |
byte ToBooleanTypes(TypeFeedbackId id); |
// Get type information for arithmetic operations and compares. |
- TypeInfo UnaryType(UnaryOperation* expr); |
- void BinaryType(BinaryOperation* expr, |
- TypeInfo* left, |
- TypeInfo* right, |
- TypeInfo* result, |
+ Handle<Type> UnaryType(TypeFeedbackId id); |
+ void BinaryType(TypeFeedbackId id, |
+ Handle<Type>* left, |
+ Handle<Type>* right, |
+ Handle<Type>* result, |
bool* has_fixed_right_arg, |
int* fixed_right_arg_value); |