Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 15bdc5221ebf221e1a05c9d7a65a4c268243daa8..922552c10f2fd878a6315f0460acae70b98845c9 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -3191,6 +3191,18 @@ void Code::set_compare_state(byte value) { |
} |
+byte Code::compare_operation() { |
+ ASSERT(is_compare_ic_stub()); |
+ return READ_BYTE_FIELD(this, kCompareOperationOffset); |
+} |
+ |
+ |
+void Code::set_compare_operation(byte value) { |
+ ASSERT(is_compare_ic_stub()); |
+ WRITE_BYTE_FIELD(this, kCompareOperationOffset, value); |
+} |
+ |
+ |
byte Code::to_boolean_state() { |
ASSERT(is_to_boolean_ic_stub()); |
return READ_BYTE_FIELD(this, kToBooleanTypeOffset); |