Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 8eb8b71b39347918cf32ef3c7127e410a3340bd4..8120ab7f2a7c7c92f2f2a27267bc00ae9081b1f7 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -1802,6 +1802,10 @@ Isolate::Isolate(bool enable_serializer) |
stress_deopt_count_(0), |
virtual_handler_register_(NULL), |
virtual_slot_register_(NULL), |
+ interpreter_entry_trampoline_start_(NULL), |
+ interpreter_entry_trampoline_end_(NULL), |
+ interpreter_bytecode_dispatch_start_(NULL), |
+ interpreter_bytecode_dispatch_end_(NULL), |
next_optimization_id_(0), |
js_calls_from_api_counter_(0), |
#if TRACE_MAPS |
@@ -2227,6 +2231,15 @@ bool Isolate::Init(Deserializer* des) { |
if (FLAG_ignition) { |
interpreter_->Initialize(); |
+ |
+ Handle<Code> entry_trampoine = builtins()->InterpreterEntryTrampoline(); |
+ interpreter_entry_trampoline_start_ = entry_trampoine->instruction_start(); |
+ interpreter_entry_trampoline_end_ = entry_trampoine->instruction_end(); |
+ Handle<Code> bytecode_dispatch = |
+ builtins()->InterpreterEnterBytecodeDispatch(); |
+ interpreter_bytecode_dispatch_start_ = |
+ bytecode_dispatch->instruction_start(); |
+ interpreter_bytecode_dispatch_end_ = bytecode_dispatch->instruction_end(); |
} |
// Finish initialization of ThreadLocal after deserialization is done. |