Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Unified Diff: src/isolate.cc

Issue 1239793002: [interpreter] Add basic framework for bytecode handler code generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add comment to count macro. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index f4807a629700f91dc4344ecce14571a4f2a0313a..a46ce84e844c19e3732ebe1c817992bab2d29a19 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -25,6 +25,7 @@
#include "src/heap-profiler.h"
#include "src/hydrogen.h"
#include "src/ic/stub-cache.h"
+#include "src/interpreter/interpreter.h"
#include "src/lithium-allocator.h"
#include "src/log.h"
#include "src/messages.h"
@@ -2116,6 +2117,7 @@ bool Isolate::Init(Deserializer* des) {
new CallInterfaceDescriptorData[CallDescriptors::NUMBER_OF_DESCRIPTORS];
cpu_profiler_ = new CpuProfiler(this);
heap_profiler_ = new HeapProfiler(heap());
+ interpreter_ = new interpreter::Interpreter();
Michael Starzinger 2015/07/17 13:20:59 Probably needs the corresponding "delete" in Isola
rmcilroy 2015/07/21 11:13:21 Done.
// Enable logging before setting up the heap
logger_->SetUp(this);
@@ -2163,6 +2165,10 @@ bool Isolate::Init(Deserializer* des) {
bootstrapper_->Initialize(create_heap_objects);
builtins_.SetUp(this, create_heap_objects);
+ if (FLAG_ignition) {
+ interpreter_->Initialize(this, create_heap_objects);
+ }
+
if (FLAG_log_internal_timer_events) {
set_event_logger(Logger::DefaultEventLoggerSentinel);
}

Powered by Google App Engine
This is Rietveld 408576698