Index: src/interpreter/interpreter-assembler.h |
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h |
index a1604c524037bdaff2426ad334dead56970c0ffb..9600dfb6c5fc07e840847522f5c3a1f7ed3204fa 100644 |
--- a/src/interpreter/interpreter-assembler.h |
+++ b/src/interpreter/interpreter-assembler.h |
@@ -132,6 +132,13 @@ class InterpreterAssembler : public compiler::CodeStubAssembler { |
// Dispatch to the bytecode. |
void Dispatch(); |
+ // Dispatch to bytecode handler. |
+ void DispatchToBytecodeHandler(compiler::Node* handler, |
+ compiler::Node* bytecode_offset); |
+ void DispatchToBytecodeHandler(compiler::Node* handler) { |
+ DispatchToBytecodeHandler(handler, BytecodeOffset()); |
+ } |
+ |
// Abort with the given bailout reason. |
void Abort(BailoutReason bailout_reason); |