Index: runtime/vm/stub_code_ia32.cc |
diff --git a/runtime/vm/stub_code_ia32.cc b/runtime/vm/stub_code_ia32.cc |
index 4dd59c40d199aebbbe61662f087a8982b03f9428..669c874e84a8440199346363763185cceac8d31b 100644 |
--- a/runtime/vm/stub_code_ia32.cc |
+++ b/runtime/vm/stub_code_ia32.cc |
@@ -458,7 +458,7 @@ void StubCode::GenerateDeoptimizeLazyStub(Assembler* assembler) { |
// Correct return address to point just after the call that is being |
// deoptimized. |
__ popl(EBX); |
- __ subl(EBX, Immediate(CallPattern::InstructionLength())); |
+ __ subl(EBX, Immediate(CallPattern::pattern_length_in_bytes())); |
__ pushl(EBX); |
GenerateDeoptimizationSequence(assembler, true); // Preserve EAX. |
} |