| Index: src/interpreter/interpreter.h
|
| diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h
|
| index 1e5b00288261822e71f31c00e4c5f5309a13369d..d84ba2f2781119d7415c7a2645482946f99bbf41 100644
|
| --- a/src/interpreter/interpreter.h
|
| +++ b/src/interpreter/interpreter.h
|
| @@ -28,6 +28,13 @@ class Interpreter {
|
| explicit Interpreter(Isolate* isolate);
|
| virtual ~Interpreter() {}
|
|
|
| + // 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,6 +44,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);
|
|
|