Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index f01af258bcd13cef73ac88e6cf1b14dda8f71d82..729c8de072474a93a863d4cb84a809eed274f98e 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); |