| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 7676)
|
| +++ src/objects.h (working copy)
|
| @@ -3269,6 +3269,7 @@
|
| STORE_IC,
|
| KEYED_STORE_IC,
|
| KEYED_EXTERNAL_ARRAY_STORE_IC,
|
| + TYPE_RECORDING_UNARY_OP_IC,
|
| TYPE_RECORDING_BINARY_OP_IC,
|
| COMPARE_IC,
|
| // No more than 16 kinds. The value currently encoded in four bits in
|
| @@ -3337,6 +3338,9 @@
|
| inline bool is_keyed_store_stub() { return kind() == KEYED_STORE_IC; }
|
| inline bool is_call_stub() { return kind() == CALL_IC; }
|
| inline bool is_keyed_call_stub() { return kind() == KEYED_CALL_IC; }
|
| + inline bool is_type_recording_unary_op_stub() {
|
| + return kind() == TYPE_RECORDING_UNARY_OP_IC;
|
| + }
|
| inline bool is_type_recording_binary_op_stub() {
|
| return kind() == TYPE_RECORDING_BINARY_OP_IC;
|
| }
|
| @@ -3394,6 +3398,10 @@
|
| inline ExternalArrayType external_array_type();
|
| inline void set_external_array_type(ExternalArrayType value);
|
|
|
| + // [type-recording unary op type]: For all TYPE_RECORDING_UNARY_OP_IC.
|
| + inline byte type_recording_unary_op_type();
|
| + inline void set_type_recording_unary_op_type(byte value);
|
| +
|
| // [type-recording binary op type]: For all TYPE_RECORDING_BINARY_OP_IC.
|
| inline byte type_recording_binary_op_type();
|
| inline void set_type_recording_binary_op_type(byte value);
|
| @@ -3545,6 +3553,7 @@
|
| static const int kExternalArrayTypeOffset = kKindSpecificFlagsOffset;
|
|
|
| static const int kCompareStateOffset = kStubMajorKeyOffset + 1;
|
| + static const int kUnaryOpTypeOffset = kStubMajorKeyOffset + 1;
|
| static const int kBinaryOpTypeOffset = kStubMajorKeyOffset + 1;
|
| static const int kHasDeoptimizationSupportOffset = kOptimizableOffset + 1;
|
|
|
|
|