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

Unified Diff: runtime/vm/thread.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_x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index 0bc57d40c29969da53224ec95f0c73aece6c01df..84ce5ad0d8c84477f561db7dd6ecfd0ca41c8403 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -445,9 +445,9 @@ uword Thread::GetCurrentStackPointer() {
#if !defined(TARGET_ARCH_DBC)
// Since AddressSanitizer's detect_stack_use_after_return instruments the
// C++ code to give out fake stack addresses, we call a stub in that case.
- ASSERT(StubCode::GetStackPointer_entry() != NULL);
+ ASSERT(StubCode::GetCStackPointer_entry() != NULL);
uword (*func)() = reinterpret_cast<uword (*)()>(
- StubCode::GetStackPointer_entry()->EntryPoint());
+ StubCode::GetCStackPointer_entry()->EntryPoint());
#else
uword (*func)() = NULL;
#endif
« no previous file with comments | « runtime/vm/stub_code_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698