| Index: runtime/vm/code_patcher_dbc.cc
|
| diff --git a/runtime/vm/code_patcher_dbc.cc b/runtime/vm/code_patcher_dbc.cc
|
| index e0010abf373529a37a5af0519e05cd9c965fcaaa..6a273ac1c921703cac17a36444cb05bcdad37ce5 100644
|
| --- a/runtime/vm/code_patcher_dbc.cc
|
| +++ b/runtime/vm/code_patcher_dbc.cc
|
| @@ -31,8 +31,7 @@ void CodePatcher::PatchStaticCallAt(uword return_address,
|
|
|
|
|
| void CodePatcher::InsertDeoptimizationCallAt(uword start, uword target) {
|
| - // The inserted call should not overlap the lazy deopt jump code.
|
| - ASSERT(start + CallPattern::DeoptCallPatternLengthInBytes() <= target);
|
| + ASSERT(target == 0); // Always 0 on DBC.
|
| CallPattern::InsertDeoptCallAt(start, target);
|
| }
|
|
|
|
|