Index: runtime/vm/code_generator.cc |
=================================================================== |
--- runtime/vm/code_generator.cc (revision 43859) |
+++ runtime/vm/code_generator.cc (working copy) |
@@ -1112,7 +1112,7 @@ |
#if defined(USING_SIMULATOR) |
uword stack_pos = Simulator::Current()->get_register(SPREG); |
#else |
- uword stack_pos = reinterpret_cast<uword>(&arguments); |
+ uword stack_pos = Isolate::GetCurrentStackPointer(); |
#endif |
// Always clear the stack overflow flags. They are meant for this |
// particular stack overflow runtime call and are not meant to |