| 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);
|
|
|