Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index ba340a24e6a2dc11d044d4546bfca6e515aded15..cb167d30aace5c2d7d209a4a2ae2a532d2239ae2 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -153,6 +153,7 @@ namespace internal { |
V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
+ V(Smi, getter_stub_deopt_pc_offset, GetterStubDeoptPCOffset) \ |
V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
#define ROOT_LIST(V) \ |
@@ -1592,6 +1593,11 @@ class Heap { |
set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); |
} |
+ void SetGetterStubDeoptPCOffset(int pc_offset) { |
+ ASSERT(getter_stub_deopt_pc_offset() == Smi::FromInt(0)); |
+ set_getter_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); |
+ } |
+ |
void SetSetterStubDeoptPCOffset(int pc_offset) { |
ASSERT(setter_stub_deopt_pc_offset() == Smi::FromInt(0)); |
set_setter_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); |