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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 264753002: Adds Simulator Longjmp and enables many tests for arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/stack_frame_test.cc ('k') | no next file » | 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 35592)
+++ runtime/vm/stub_code_arm64.cc (working copy)
@@ -152,7 +152,8 @@
// Save exit frame information to enable stack walking as we are about
// to transition to native code.
- __ StoreToOffset(SP, R0, Isolate::top_exit_frame_info_offset());
+ __ mov(TMP, SP);
+ __ StoreToOffset(TMP, R0, Isolate::top_exit_frame_info_offset());
// Save current Context pointer into Isolate structure.
__ StoreToOffset(CTX, R0, Isolate::top_context_offset());
@@ -236,8 +237,7 @@
__ StoreToOffset(R2, CTX, Isolate::vm_tag_offset());
// Reset exit frame information in Isolate structure.
- __ LoadImmediate(R2, 0, kNoPP);
- __ StoreToOffset(R2, CTX, Isolate::top_exit_frame_info_offset());
+ __ StoreToOffset(ZR, CTX, Isolate::top_exit_frame_info_offset());
// Load Context pointer from Isolate structure into R2.
__ LoadFromOffset(R2, CTX, Isolate::top_context_offset());
@@ -336,8 +336,7 @@
__ StoreToOffset(R2, CTX, Isolate::vm_tag_offset());
// Reset exit frame information in Isolate structure.
- __ LoadImmediate(R2, 0, kNoPP);
- __ StoreToOffset(R2, CTX, Isolate::top_exit_frame_info_offset());
+ __ StoreToOffset(ZR, CTX, Isolate::top_exit_frame_info_offset());
// Load Context pointer from Isolate structure into R2.
__ LoadFromOffset(R2, CTX, Isolate::top_context_offset());
« no previous file with comments | « runtime/vm/stack_frame_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698