Index: runtime/vm/exceptions.cc |
diff --git a/runtime/vm/exceptions.cc b/runtime/vm/exceptions.cc |
index e55edd09ed81a978509aac840f7d5169a903a741..654f7f63ca9eed5559408136c3310a9f5b4351f5 100644 |
--- a/runtime/vm/exceptions.cc |
+++ b/runtime/vm/exceptions.cc |
@@ -238,7 +238,7 @@ static void JumpToExceptionHandler(Thread* thread, |
StubCode::JumpToExceptionHandler_entry()->EntryPoint()); |
// Unpoison the stack before we tear it down in the generated stub code. |
- uword current_sp = Isolate::GetCurrentStackPointer() - 1024; |
+ uword current_sp = Thread::GetCurrentStackPointer() - 1024; |
ASAN_UNPOISON(reinterpret_cast<void*>(current_sp), |
stack_pointer - current_sp); |