Chromium Code Reviews| Index: src/interpreter/interpreter.h |
| diff --git a/src/interpreter/interpreter.h b/src/interpreter/interpreter.h |
| index b235f0ae0f9541a22ef575e00336cad23dc38436..a0ded1daa8a54ed0c7eba70092e91101506d46e4 100644 |
| --- a/src/interpreter/interpreter.h |
| +++ b/src/interpreter/interpreter.h |
| @@ -36,6 +36,8 @@ class Interpreter { |
| // Generate bytecode for |info|. |
| static bool MakeBytecode(CompilationInfo* info); |
| + Code* GetHandler(Bytecode bytecode); |
|
rmcilroy
2016/02/16 10:46:38
GetBytecodeHandler and add a comment please
Yang
2016/02/19 13:09:18
Done.
|
| + |
| // GC support. |
| void IterateDispatchTable(ObjectVisitor* v); |
| @@ -116,12 +118,14 @@ class Interpreter { |
| void DoStoreLookupSlot(LanguageMode language_mode, |
| InterpreterAssembler* assembler); |
| + void DoDebugBreak(InterpreterAssembler* assembler); |
| + |
| bool IsDispatchTableInitialized(); |
| static const int kDispatchTableSize = static_cast<int>(Bytecode::kLast) + 1; |
| Isolate* isolate_; |
| - Object* dispatch_table_[kDispatchTableSize]; |
| + Code* dispatch_table_[kDispatchTableSize]; |
| DISALLOW_COPY_AND_ASSIGN(Interpreter); |
| }; |