| Index: runtime/vm/stub_code_x64.cc
|
| diff --git a/runtime/vm/stub_code_x64.cc b/runtime/vm/stub_code_x64.cc
|
| index efe71166771146b2aa93fe7aa5a99f3b30685879..ad428ae986e09bb00b5a42b7ef9f998ed94a1ce2 100644
|
| --- a/runtime/vm/stub_code_x64.cc
|
| +++ b/runtime/vm/stub_code_x64.cc
|
| @@ -479,7 +479,7 @@ void StubCode::GenerateDeoptimizeLazyStub(Assembler* assembler) {
|
| // Correct return address to point just after the call that is being
|
| // deoptimized.
|
| __ popq(RBX);
|
| - __ subq(RBX, Immediate(ShortCallPattern::InstructionLength()));
|
| + __ subq(RBX, Immediate(ShortCallPattern::pattern_length_in_bytes()));
|
| __ pushq(RBX);
|
| GenerateDeoptimizationSequence(assembler, true); // Preserve RAX.
|
| }
|
|
|