| Index: runtime/vm/stub_code_ia32.cc
|
| diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc
|
| index e8b0245a7e1af06afeb2d3a47d82dedb0e3db812..30dbe75d2ba690dd05fcd85e1ed2160344348cde 100644
|
| --- a/runtime/vm/stub_code_ia32.cc
|
| +++ b/runtime/vm/stub_code_ia32.cc
|
| @@ -52,7 +52,7 @@ void StubCode::GenerateCallToRuntimeStub(Assembler* assembler) {
|
|
|
| // Save exit frame information to enable stack walking as we are about
|
| // to transition to Dart VM C++ code.
|
| - __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), ESP);
|
| + __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), EBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
| @@ -142,7 +142,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
|
|
|
| // Save exit frame information to enable stack walking as we are about
|
| // to transition to dart VM code.
|
| - __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), ESP);
|
| + __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), EBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
| @@ -215,7 +215,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
|
|
|
| // Save exit frame information to enable stack walking as we are about
|
| // to transition to dart VM code.
|
| - __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), ESP);
|
| + __ movl(Address(ESI, Isolate::top_exit_frame_info_offset()), EBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
|
|