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

Unified Diff: src/interpreter/interpreter.cc

Issue 1667073002: [interpreter, debugger] implement debugger statement. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@sourcepositiontable
Patch Set: fix test expectation 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
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/interpreter/interpreter.cc
diff --git a/src/interpreter/interpreter.cc b/src/interpreter/interpreter.cc
index 3a9ce3f43063b974d227833d2b0254170c9f4b01..ebcb4498a9d50b997bcf390e435b964cca69b854 100644
--- a/src/interpreter/interpreter.cc
+++ b/src/interpreter/interpreter.cc
@@ -1824,6 +1824,13 @@ void Interpreter::DoReturn(compiler::InterpreterAssembler* assembler) {
__ Return();
}
+// Debugger
+//
+// Call runtime to handle debugger statement.
+void Interpreter::DoDebugger(compiler::InterpreterAssembler* assembler) {
+ __ CallRuntime(Runtime::kHandleDebuggerStatement);
+ __ Dispatch();
+}
// ForInPrepare <cache_info_triple>
//
« no previous file with comments | « src/interpreter/bytecodes.h ('k') | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698