Index: runtime/vm/simulator_mips.cc |
diff --git a/runtime/vm/simulator_mips.cc b/runtime/vm/simulator_mips.cc |
index 04e0b7fda315d35d765d8063afcea0d354971c36..5fabae721cc74250693febdd81f711edaeca8afe 100644 |
--- a/runtime/vm/simulator_mips.cc |
+++ b/runtime/vm/simulator_mips.cc |
@@ -699,8 +699,8 @@ Simulator::Simulator() { |
// the size specified by the user and the buffer space needed for |
// handling stack overflow exceptions. To be safe in potential |
// stack underflows we also add some underflow buffer space. |
- stack_ = new char[(Isolate::GetSpecifiedStackSize() + |
- Isolate::kStackSizeBuffer + |
+ stack_ = new char[(OSThread::GetSpecifiedStackSize() + |
+ OSThread::kStackSizeBuffer + |
kSimulatorStackUnderflowSize)]; |
icount_ = 0; |
delay_slot_ = false; |
@@ -997,7 +997,7 @@ uword Simulator::StackTop() const { |
// To be safe in potential stack underflows we leave some buffer above and |
// set the stack top. |
return StackBase() + |
- (Isolate::GetSpecifiedStackSize() + Isolate::kStackSizeBuffer); |
+ (OSThread::GetSpecifiedStackSize() + OSThread::kStackSizeBuffer); |
} |