Index: runtime/vm/simulator_arm.cc |
=================================================================== |
--- runtime/vm/simulator_arm.cc (revision 45418) |
+++ runtime/vm/simulator_arm.cc (working copy) |
@@ -1176,7 +1176,7 @@ |
uword Simulator::StackTop() const { |
// To be safe in potential stack underflows we leave some buffer above and |
// set the stack top. |
- return reinterpret_cast<uword>(stack_) + |
+ return StackBase() + |
(Isolate::GetSpecifiedStackSize() + Isolate::kStackSizeBuffer); |
} |