diff options
Diffstat (limited to 'deps/v8/src/interpreter/interpreter.h')
-rw-r--r-- | deps/v8/src/interpreter/interpreter.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/deps/v8/src/interpreter/interpreter.h b/deps/v8/src/interpreter/interpreter.h index 5ded893798..5023b0ef00 100644 --- a/deps/v8/src/interpreter/interpreter.h +++ b/deps/v8/src/interpreter/interpreter.h @@ -36,7 +36,7 @@ class InterpreterAssembler; class Interpreter { public: explicit Interpreter(Isolate* isolate); - virtual ~Interpreter() {} + virtual ~Interpreter() = default; // Returns the interrupt budget which should be used for the profiler counter. static int InterruptBudget(); @@ -54,9 +54,6 @@ class Interpreter { Code* GetAndMaybeDeserializeBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); - // Return bytecode handler for |bytecode| and |operand_scale|. - Code* GetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale); - // Set the bytecode handler for |bytecode| and |operand_scale|. void SetBytecodeHandler(Bytecode bytecode, OperandScale operand_scale, Code* handler); @@ -69,6 +66,10 @@ class Interpreter { V8_EXPORT_PRIVATE Local<v8::Object> GetDispatchCountersObject(); + void ForEachBytecode(const std::function<void(Bytecode, OperandScale)>& f); + + void InitializeDispatchTable(); + bool IsDispatchTableInitialized() const; Address dispatch_table_address() { |