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

Unified Diff: runtime/vm/stub_code_arm64.cc

Issue 2918393002: [arm64] Fix the GetStackPointer stub to return the C stack pointer. (Closed)
Patch Set: Created 3 years, 6 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/stub_code_arm.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stub_code_arm64.cc
diff --git a/runtime/vm/stub_code_arm64.cc b/runtime/vm/stub_code_arm64.cc
index 71ebe70d2f6f10ebe3a6d1fc45b8b4e645f5d0cb..5e7dc0af6d632508e581eec476fdec3254ee28be 100644
--- a/runtime/vm/stub_code_arm64.cc
+++ b/runtime/vm/stub_code_arm64.cc
@@ -1933,8 +1933,8 @@ void StubCode::GenerateSubtype4TestCacheStub(Assembler* assembler) {
}
-void StubCode::GenerateGetStackPointerStub(Assembler* assembler) {
- __ mov(R0, SP);
+void StubCode::GenerateGetCStackPointerStub(Assembler* assembler) {
+ __ mov(R0, CSP);
__ ret();
}
« no previous file with comments | « runtime/vm/stub_code_arm.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698