| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index f689c667b6cd3621d1a0b81d71c34aa9707a8853..4cecb2f03cc024ede624fa4744c02111aa41b7a5 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 = 0xf
|
| + };
|
| };
|
|
|
| // Describes how exactly a frame has been dropped from stack.
|
|
|