Index: runtime/vm/code_patcher_mips.cc |
=================================================================== |
--- runtime/vm/code_patcher_mips.cc (revision 24063) |
+++ runtime/vm/code_patcher_mips.cc (working copy) |
@@ -47,7 +47,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); |
} |