Chromium Code Reviews| Index: src/globals.h |
| diff --git a/src/globals.h b/src/globals.h |
| index f689c667b6cd3621d1a0b81d71c34aa9707a8853..88ea26d046f9f247eeebd9461fc05661297320c9 100644 |
| --- a/src/globals.h |
| +++ b/src/globals.h |
| @@ -1238,10 +1238,21 @@ class BinaryOperationFeedback { |
| }; |
| }; |
| +// Type feedback 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 |
| +// kString -> kAny |
| // TODO(epertoso): consider unifying this with BinaryOperationFeedback. |
| class CompareOperationFeedback { |
| public: |
| - enum { kNone = 0x00, kSignedSmall = 0x01, kNumber = 0x3, kAny = 0x7 }; |
| + enum { |
| + kNone = 0x00, |
| + kSignedSmall = 0x01, |
| + kNumber = 0x3, |
| + kString = 0x4, |
| + kAny = 0x7 |
|
Benedikt Meurer
2016/11/17 13:45:24
kAny must be 0xf now
rmcilroy
2016/11/17 14:13:14
Done.
|
| + }; |
| }; |
| // Describes how exactly a frame has been dropped from stack. |