| Index: src/x64/assembler-x64-inl.h
|
| ===================================================================
|
| --- src/x64/assembler-x64-inl.h (revision 2251)
|
| +++ src/x64/assembler-x64-inl.h (working copy)
|
| @@ -147,11 +147,8 @@
|
| // Implementation of RelocInfo
|
|
|
| // The modes possibly affected by apply must be in kApplyMask.
|
| -void RelocInfo::apply(int delta) {
|
| - if (rmode_ == RUNTIME_ENTRY || IsCodeTarget(rmode_)) {
|
| - intptr_t* p = reinterpret_cast<intptr_t*>(pc_);
|
| - *p -= delta; // relocate entry
|
| - } else if (IsInternalReference(rmode_)) {
|
| +void RelocInfo::apply(intptr_t delta) {
|
| + if (IsInternalReference(rmode_)) {
|
| // absolute code pointer inside code object moves with the code object.
|
| intptr_t* p = reinterpret_cast<intptr_t*>(pc_);
|
| *p += delta; // relocate entry
|
|
|