| Index: runtime/vm/intermediate_language_x64.cc
|
| diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc
|
| index 070f26cadb88edf5f188b38229ccf4d12bc81dcb..b8a57bb4a106e4758fed379266d20b8a1c5f4965 100644
|
| --- a/runtime/vm/intermediate_language_x64.cc
|
| +++ b/runtime/vm/intermediate_language_x64.cc
|
| @@ -2564,6 +2564,10 @@ LocationSummary* CatchBlockEntryInstr::MakeLocationSummary(Zone* zone,
|
|
|
|
|
| void CatchBlockEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
|
| + // Ensure space for patching return sites for lazy deopt.
|
| + if (!FLAG_precompiled_mode && compiler->is_optimizing()) {
|
| + __ nop(ShortCallPattern::pattern_length_in_bytes());
|
| + }
|
| __ Bind(compiler->GetJumpLabel(this));
|
| compiler->AddExceptionHandler(catch_try_index(),
|
| try_index(),
|
|
|