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

Unified Diff: src/interpreter/interpreter.h

Issue 1278413002: [interpreter] Fix nosnap build for interpreter table generation. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove create_heap_objects Created 5 years, 4 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
« no previous file with comments | « src/heap/heap.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.h
diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
index 1e5b00288261822e71f31c00e4c5f5309a13369d..ba145faaf1429285c2c20b9fb53a86f8b9c02b07 100644
--- a/src/interpreter/interpreter.h
+++ b/src/interpreter/interpreter.h
@@ -28,7 +28,13 @@ class Interpreter {
explicit Interpreter(Isolate* isolate);
virtual ~Interpreter() {}
- void Initialize(bool create_heap_objects);
+ // Creates an uninitialized interpreter handler table, where each handler
+ // points to the Illegal builtin.
+ static Handle<FixedArray> CreateUninitializedInterpreterTable(
+ Isolate* isolate);
+
+ // Initializes the interpreter.
+ void Initialize();
private:
// Bytecode handler generator functions.
@@ -37,6 +43,8 @@ class Interpreter {
BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR)
#undef DECLARE_BYTECODE_HANDLER_GENERATOR
+ bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table);
+
Isolate* isolate_;
DISALLOW_COPY_AND_ASSIGN(Interpreter);
« no previous file with comments | « src/heap/heap.cc ('k') | src/interpreter/interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698