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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 274043003: Adds debugger patching to arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « runtime/vm/simulator_arm64.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64.cc
===================================================================
--- runtime/vm/stub_code_arm64.cc (revision 35975)
+++ runtime/vm/stub_code_arm64.cc (working copy)
@@ -1641,7 +1641,16 @@
void StubCode::GenerateBreakpointRuntimeStub(Assembler* assembler) {
- __ Stop("GenerateBreakpointRuntimeStub");
+ __ EnterStubFrame();
+ __ Push(R5); // Save IC Data.
+ __ Push(R4); // Save arg. desc.
+ __ PushObject(Object::null_object(), PP); // Space for result.
+ __ CallRuntime(kBreakpointRuntimeHandlerRuntimeEntry, 0);
+ __ Pop(R0);
+ __ Pop(R4);
+ __ Pop(R5);
+ __ LeaveStubFrame();
+ __ br(R0);
}
« no previous file with comments | « runtime/vm/simulator_arm64.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698