| Index: src/objects.cc
|
| ===================================================================
|
| --- src/objects.cc (revision 13219)
|
| +++ src/objects.cc (working copy)
|
| @@ -8855,6 +8855,13 @@
|
| Code* code = Code::cast(*p);
|
| it.rinfo()->set_target_address(code->instruction_start(),
|
| SKIP_WRITE_BARRIER);
|
| +#if defined(V8_TARGET_ARCH_X64)
|
| + } else if (RelocInfo::IsDeoptEntry(mode)) {
|
| + // rewrite deopt entries in optimized codes to direct
|
| + // pointers to the entry
|
| + Address p = it.rinfo()->target_deopt_entry(origin);
|
| + it.rinfo()->set_target_address(p, SKIP_WRITE_BARRIER);
|
| +#endif
|
| } else {
|
| it.rinfo()->apply(delta);
|
| }
|
|
|