Index: runtime/vm/profiler.cc |
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc |
index 0d1ad844bc3b698fe986a23820e2c7a9577dc22e..e05ad925d3cde8e23a298bf50f3f7560bc96e9bc 100644 |
--- a/runtime/vm/profiler.cc |
+++ b/runtime/vm/profiler.cc |
@@ -887,7 +887,7 @@ void Profiler::SampleAllocation(Thread* thread, intptr_t cid) { |
} |
if (FLAG_profile_vm) { |
- uintptr_t sp = Isolate::GetCurrentStackPointer(); |
+ uintptr_t sp = Thread::GetCurrentStackPointer(); |
uintptr_t fp = 0; |
uintptr_t pc = GetProgramCounter(); |