Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index e9cbb52ba94e654270ce59b6b99f81420b76a839..03ee7114128679bc02627fb2159549697fb6fbaa 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -150,7 +150,8 @@ namespace internal { |
V(Script, empty_script, EmptyScript) \ |
V(Smi, real_stack_limit, RealStackLimit) \ |
V(StringDictionary, intrinsic_function_names, IntrinsicFunctionNames) \ |
- V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) |
+ V(Smi, arguments_adaptor_deopt_pc_offset, ArgumentsAdaptorDeoptPCOffset) \ |
+ V(Smi, construct_stub_deopt_pc_offset, ConstructStubDeoptPCOffset) |
#define ROOT_LIST(V) \ |
STRONG_ROOT_LIST(V) \ |
@@ -1555,6 +1556,11 @@ class Heap { |
set_arguments_adaptor_deopt_pc_offset(Smi::FromInt(pc_offset)); |
} |
+ void SetConstructStubDeoptPCOffset(int pc_offset) { |
+ ASSERT(construct_stub_deopt_pc_offset() == Smi::FromInt(0)); |
+ set_construct_stub_deopt_pc_offset(Smi::FromInt(pc_offset)); |
+ } |
+ |
private: |
Heap(); |