| Index: runtime/vm/code_patcher_ia32.cc
|
| ===================================================================
|
| --- runtime/vm/code_patcher_ia32.cc (revision 22382)
|
| +++ runtime/vm/code_patcher_ia32.cc (working copy)
|
| @@ -169,6 +169,8 @@
|
|
|
|
|
| void CodePatcher::InsertCallAt(uword start, uword target) {
|
| + // The inserted call should not overlap the lazy deopt jump code.
|
| + ASSERT(start + CallPattern::InstructionLength() <= target);
|
| *reinterpret_cast<uint8_t*>(start) = 0xE8;
|
| CallPattern call(start);
|
| call.SetTargetAddress(target);
|
|
|