Index: runtime/vm/parser.cc |
diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc |
index 9c4d71404f57a1e579a0ec08d7a62d2e28a2012b..5ad7cd280d8b4ff131829c9295517e4a0a5c7288 100644 |
--- a/runtime/vm/parser.cc |
+++ b/runtime/vm/parser.cc |
@@ -6118,7 +6118,7 @@ void Parser::ParseTopLevel() { |
void Parser::CheckStack() { |
- volatile uword c_stack_pos = Isolate::GetCurrentStackPointer(); |
+ volatile uword c_stack_pos = Thread::GetCurrentStackPointer(); |
volatile uword c_stack_base = OSThread::Current()->stack_base(); |
volatile uword c_stack_limit = |
c_stack_base - OSThread::GetSpecifiedStackSize(); |