| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index 77da070760a4794b49e7d3275e48af8b7b3dc35e..2dd75a203c1104faa26747e139b2ed1e7e675f1e 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -51,7 +51,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.
|
| - __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RSP);
|
| + __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
| @@ -148,7 +148,7 @@ void StubCode::GenerateCallNativeCFunctionStub(Assembler* assembler) {
|
|
|
| // Save exit frame information to enable stack walking as we are about
|
| // to transition to native code.
|
| - __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RSP);
|
| + __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
| @@ -222,7 +222,7 @@ void StubCode::GenerateCallBootstrapCFunctionStub(Assembler* assembler) {
|
|
|
| // Save exit frame information to enable stack walking as we are about
|
| // to transition to native code.
|
| - __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RSP);
|
| + __ movq(Address(R12, Isolate::top_exit_frame_info_offset()), RBP);
|
|
|
| #if defined(DEBUG)
|
| { Label ok;
|
|
|