 Chromium Code Reviews
 Chromium Code Reviews Issue 11574027:
  Use direct jump and call instruction for X64 when the deoptimization entries are in the code range  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
    
  
    Issue 11574027:
  Use direct jump and call instruction for X64 when the deoptimization entries are in the code range  (Closed) 
  Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/| Index: src/objects.cc | 
| =================================================================== | 
| --- src/objects.cc (revision 13543) | 
| +++ src/objects.cc (working copy) | 
| @@ -8624,6 +8624,13 @@ | 
| Code* code = Code::cast(*p); | 
| it.rinfo()->set_target_address(code->instruction_start(), | 
| SKIP_WRITE_BARRIER); | 
| +#if defined(V8_TARGET_ARCH_X64) | 
| 
danno
2013/02/06 15:00:38
I would very much like to avoid having platform #i
 
haitao.feng
2013/02/07 05:08:05
Done.
 | 
| + } else if (RelocInfo::IsRuntimeEntry(mode)) { | 
| + // rewrite runtime entries in optimized codes to direct | 
| + // pointers to the entry | 
| + Address p = it.rinfo()->target_runtime_entry(origin); | 
| + it.rinfo()->set_target_address(p, SKIP_WRITE_BARRIER); | 
| +#endif | 
| } else { | 
| it.rinfo()->apply(delta); | 
| } |