| Index: src/objects.h
|
| ===================================================================
|
| --- src/objects.h (revision 7683)
|
| +++ src/objects.h (working copy)
|
| @@ -3276,6 +3276,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
|
| @@ -3344,6 +3345,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;
|
| }
|
| @@ -3401,6 +3405,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);
|
| @@ -3552,6 +3560,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;
|
|
|
|
|