Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 5e5ba52078a94ba0f44a3e79ed44b74caf1a8bda..121d1b9377630db94ef0282e030c5f4da218b1d1 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -150,7 +150,8 @@ namespace internal { |
V(Smi, real_stack_limit, RealStackLimit) \ |
V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
- V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) |
+ V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) \ |
+ V(Smi, setter_stub_deopt_pc_offset, SetterStubDeoptPCOffset) |
#define ROOT_LIST(V) \ |
STRONG_ROOT_LIST(V) \ |
@@ -1585,6 +1586,11 @@ class Heap { |
set_construct_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)); |
+ } |
+ |
// For post mortem debugging. |
void RememberUnmappedPage(Address page, bool compacted); |