Chromium Code Reviews| Index: runtime/vm/code_patcher_arm.cc |
| =================================================================== |
| --- runtime/vm/code_patcher_arm.cc (revision 22345) |
| +++ 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); |
|
srdjan
2013/05/03 17:16:18
Currently there is always a patch jump before the
regis
2013/05/03 18:34:12
Agreed. It will not catch all issues.
|
| + CallPattern::InsertAt(start, target); |
| } |