Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index 88ac91ce47deebf244879ec5963926c538408fd4..a1c1d83450a8f024d8404f94c76c14fe3b1aa5f8 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -5239,15 +5239,22 @@ void Code::set_stub_info(int value) { |
} |
-void Code::set_deoptimizing_functions(Object* value) { |
+Object* Code::code_to_deoptimize_link() { |
+ // Optimized code should not have type feedback. |
+ ASSERT(kind() == OPTIMIZED_FUNCTION); |
+ return READ_FIELD(this, kTypeFeedbackInfoOffset); |
+} |
+ |
+ |
+void Code::set_code_to_deoptimize_link(Object* value) { |
ASSERT(kind() == OPTIMIZED_FUNCTION); |
WRITE_FIELD(this, kTypeFeedbackInfoOffset, value); |
} |
-Object* Code::deoptimizing_functions() { |
+Object** Code::code_to_deoptimize_link_slot() { |
ASSERT(kind() == OPTIMIZED_FUNCTION); |
- return Object::cast(READ_FIELD(this, kTypeFeedbackInfoOffset)); |
+ return HeapObject::RawField(this, kTypeFeedbackInfoOffset); |
} |