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

Unified Diff: src/debug/arm/debug-arm.cc

Issue 1818873003: [Interpreter] Adds support to fetch return value on break at return. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed the bugs in earlier implementation. Changed full-codegen to match ignition for fetching the r… Created 4 years, 9 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 | « no previous file | src/debug/arm64/debug-arm64.cc » ('j') | src/debug/arm64/debug-arm64.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/arm/debug-arm.cc
diff --git a/src/debug/arm/debug-arm.cc b/src/debug/arm/debug-arm.cc
index 99a555de9c5800e4deeb7d7d80db2a7025d40d7a..c417e2703698823ab436b301ec6f9f6e49a05262 100644
--- a/src/debug/arm/debug-arm.cc
+++ b/src/debug/arm/debug-arm.cc
@@ -83,7 +83,9 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm,
if (mode == SAVE_RESULT_REGISTER) __ push(r0);
- __ mov(r0, Operand::Zero()); // no arguments
+ // One argument. The hole in FCG. Value of accumulator in interpreter.
+ __ mov(r0, Operand(1));
+ __ Push(masm->isolate()->factory()->the_hole_value());
__ mov(r1,
Operand(ExternalReference(
Runtime::FunctionForId(Runtime::kDebugBreak), masm->isolate())));
« no previous file with comments | « no previous file | src/debug/arm64/debug-arm64.cc » ('j') | src/debug/arm64/debug-arm64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698