Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 8025) |
+++ src/objects-inl.h (working copy) |
@@ -2619,7 +2619,8 @@ |
int Code::major_key() { |
ASSERT(kind() == STUB || |
- kind() == TYPE_RECORDING_BINARY_OP_IC || |
+ kind() == UNARY_OP_IC || |
+ kind() == BINARY_OP_IC || |
kind() == COMPARE_IC); |
return READ_BYTE_FIELD(this, kStubMajorKeyOffset); |
} |
@@ -2627,8 +2628,8 @@ |
void Code::set_major_key(int major) { |
ASSERT(kind() == STUB || |
- kind() == TYPE_RECORDING_UNARY_OP_IC || |
- kind() == TYPE_RECORDING_BINARY_OP_IC || |
+ kind() == UNARY_OP_IC || |
+ kind() == BINARY_OP_IC || |
kind() == COMPARE_IC); |
ASSERT(0 <= major && major < 256); |
WRITE_BYTE_FIELD(this, kStubMajorKeyOffset, major); |
@@ -2736,38 +2737,38 @@ |
} |
-byte Code::type_recording_unary_op_type() { |
- ASSERT(is_type_recording_unary_op_stub()); |
+byte Code::unary_op_type() { |
+ ASSERT(is_unary_op_stub()); |
return READ_BYTE_FIELD(this, kUnaryOpTypeOffset); |
} |
-void Code::set_type_recording_unary_op_type(byte value) { |
- ASSERT(is_type_recording_unary_op_stub()); |
+void Code::set_unary_op_type(byte value) { |
+ ASSERT(is_unary_op_stub()); |
WRITE_BYTE_FIELD(this, kUnaryOpTypeOffset, value); |
} |
-byte Code::type_recording_binary_op_type() { |
- ASSERT(is_type_recording_binary_op_stub()); |
+byte Code::binary_op_type() { |
+ ASSERT(is_binary_op_stub()); |
return READ_BYTE_FIELD(this, kBinaryOpTypeOffset); |
} |
-void Code::set_type_recording_binary_op_type(byte value) { |
- ASSERT(is_type_recording_binary_op_stub()); |
+void Code::set_binary_op_type(byte value) { |
+ ASSERT(is_binary_op_stub()); |
WRITE_BYTE_FIELD(this, kBinaryOpTypeOffset, value); |
} |
-byte Code::type_recording_binary_op_result_type() { |
- ASSERT(is_type_recording_binary_op_stub()); |
+byte Code::binary_op_result_type() { |
+ ASSERT(is_binary_op_stub()); |
return READ_BYTE_FIELD(this, kBinaryOpReturnTypeOffset); |
} |
-void Code::set_type_recording_binary_op_result_type(byte value) { |
- ASSERT(is_type_recording_binary_op_stub()); |
+void Code::set_binary_op_result_type(byte value) { |
+ ASSERT(is_binary_op_stub()); |
WRITE_BYTE_FIELD(this, kBinaryOpReturnTypeOffset, value); |
} |