Index: src/globals.h |
diff --git a/src/globals.h b/src/globals.h |
index 2bfb1eb84e258a0ed59d46a1d4f463d0624a9c9c..9d2d40022d341cf2e313cf456334f5b234af7ace 100644 |
--- a/src/globals.h |
+++ b/src/globals.h |
@@ -1150,6 +1150,15 @@ inline uint32_t ObjectHash(Address address) { |
kPointerSizeLog2); |
} |
+// Type feedbac is encoded in such a way that, we can combine the feedback |
+// at different points by performing an 'OR' operation. Type feedback moves |
+// to a more generic type when we combine feedback. |
+// kSignedSmall -> kNumber -> kAny |
+class BinaryOperationFeedback { |
+ public: |
+ enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 }; |
+}; |
+ |
} // namespace internal |
} // namespace v8 |