| Index: src/interpreter/interpreter.h
|
| diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
|
| index 1e5b00288261822e71f31c00e4c5f5309a13369d..5ab73c832fa924452b827b031476030456c02db4 100644
|
| --- a/src/interpreter/interpreter.h
|
| +++ b/src/interpreter/interpreter.h
|
| @@ -28,6 +28,15 @@ class Interpreter {
|
| explicit Interpreter(Isolate* isolate);
|
| virtual ~Interpreter() {}
|
|
|
| + bool initialized() { return initialized_; }
|
| +
|
| + // Creates an uninitialized interpreter handler table, where each handler
|
| + // points to the Illegal builtin.
|
| + static Handle<FixedArray> CreateUninitializedInterpreterTable(
|
| + Isolate* isolate);
|
| +
|
| + // Initializes the interpreter, generating heap objects if
|
| + // |create_heap_objects| is true.
|
| void Initialize(bool create_heap_objects);
|
|
|
| private:
|
| @@ -37,7 +46,10 @@ class Interpreter {
|
| BYTECODE_LIST(DECLARE_BYTECODE_HANDLER_GENERATOR)
|
| #undef DECLARE_BYTECODE_HANDLER_GENERATOR
|
|
|
| + bool IsInterpreterTableInitialized(Handle<FixedArray> handler_table);
|
| +
|
| Isolate* isolate_;
|
| + bool initialized_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(Interpreter);
|
| };
|
|
|