Index: runtime/vm/simulator_arm64.cc |
diff --git a/runtime/vm/simulator_arm64.cc b/runtime/vm/simulator_arm64.cc |
index cf25e24096c3ab29052eefd47e3e6a2ddac0af3c..0f1ed5694e153460f36c87c15f59e4971984be03 100644 |
--- a/runtime/vm/simulator_arm64.cc |
+++ b/runtime/vm/simulator_arm64.cc |
@@ -746,8 +746,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)]; |
pc_modified_ = false; |
icount_ = 0; |
@@ -1055,7 +1055,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); |
} |