Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1467)

Unified Diff: src/interpreter/interpreter-assembler.h

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed last comment Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/interpreter/interpreter-assembler.h
diff --git a/src/interpreter/interpreter-assembler.h b/src/interpreter/interpreter-assembler.h
index 6a65eb51ba9ab078be8db420aefc4d4f796dc303..06dba7f4cd90d518100f09b8c6bab17f4fb81c6f 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);

Powered by Google App Engine
This is Rietveld 408576698