Index: src/type-info.h |
diff --git a/src/type-info.h b/src/type-info.h |
index 00d88c2afccae57570b8e4df23be88bff6fa2c95..8b2ec49310de9730da50a790d7b8093f0eb9e41e 100644 |
--- a/src/type-info.h |
+++ b/src/type-info.h |
@@ -204,6 +204,7 @@ class TypeInfo { |
kNonPrimitive = 0x40, // 1000000 |
kUninitialized = 0x7f // 1111111 |
}; |
+ |
explicit inline TypeInfo(Type t) : type_(t) { } |
Type type_; |
@@ -287,9 +288,14 @@ class TypeFeedbackOracle: public ZoneObject { |
// Get type information for arithmetic operations and compares. |
TypeInfo UnaryType(UnaryOperation* expr); |
- TypeInfo BinaryType(BinaryOperation* expr); |
- TypeInfo CompareType(CompareOperation* expr); |
- bool IsSymbolCompare(CompareOperation* expr); |
+ void BinaryType(BinaryOperation* expr, |
+ TypeInfo* left, |
+ TypeInfo* right, |
+ TypeInfo* result); |
+ void CompareType(CompareOperation* expr, |
+ TypeInfo* left_type, |
+ TypeInfo* right_type, |
+ TypeInfo* overall_type); |
Handle<Map> GetCompareMap(CompareOperation* expr); |
TypeInfo SwitchType(CaseClause* clause); |
TypeInfo IncrementType(CountOperation* expr); |