Chromium Code Reviews| Index: runtime/vm/code_patcher_arm.cc |
| =================================================================== |
| --- runtime/vm/code_patcher_arm.cc (revision 22382) |
| +++ runtime/vm/code_patcher_arm.cc (working copy) |
| @@ -39,7 +39,9 @@ |
| void CodePatcher::InsertCallAt(uword start, uword target) { |
| - UNIMPLEMENTED(); |
| + // The inserted call should not overlap the lazy deopt jump code. |
| + ASSERT(start + CallPattern::kFixedLengthInBytes <= target); |
| + CallPattern::InsertAt(start, target); |
| } |