Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 9466c57f750d64e9e4ae226327bc66d890fdcbda..407084adc078e71749ecb4a39d46c79c377ccb02 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -1209,9 +1209,16 @@ inline uint32_t ObjectHash(Address address) { |
// at different points by performing an 'OR' operation. Type feedback moves |
// to a more generic type when we combine feedback. |
// kSignedSmall -> kNumber -> kAny |
+// kString -> kAny |
class BinaryOperationFeedback { |
public: |
- enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 }; |
+ enum { |
+ kNone = 0x0, |
+ kSignedSmall = 0x1, |
+ kNumber = 0x3, |
+ kString = 0x4, |
+ kAny = 0xF |
+ }; |
}; |
// TODO(epertoso): consider unifying this with BinaryOperationFeedback. |