| Index: src/x87/assembler-x87-inl.h
|
| diff --git a/src/x87/assembler-x87-inl.h b/src/x87/assembler-x87-inl.h
|
| index 62beab8ed3cabb36c75848e6f514d556bdf86373..9c6c55c97154cb37e92158ebd49a6cd49f831249 100644
|
| --- a/src/x87/assembler-x87-inl.h
|
| +++ b/src/x87/assembler-x87-inl.h
|
| @@ -59,19 +59,19 @@ void RelocInfo::apply(intptr_t delta, ICacheFlushMode icache_flush_mode) {
|
| int32_t* p = reinterpret_cast<int32_t*>(pc_);
|
| *p -= delta; // Relocate entry.
|
| if (flush_icache) CpuFeatures::FlushICache(p, sizeof(uint32_t));
|
| - } else if (rmode_ == CODE_AGE_SEQUENCE) {
|
| + } else if (IsCodeAgeSequence(rmode_)) {
|
| if (*pc_ == kCallOpcode) {
|
| int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1);
|
| *p -= delta; // Relocate entry.
|
| if (flush_icache) CpuFeatures::FlushICache(p, sizeof(uint32_t));
|
| }
|
| - } else if (rmode_ == JS_RETURN && IsPatchedReturnSequence()) {
|
| + } else if (IsJSReturn(rmode_) && IsPatchedReturnSequence()) {
|
| // Special handling of js_return when a break point is set (call
|
| // instruction has been inserted).
|
| int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1);
|
| *p -= delta; // Relocate entry.
|
| if (flush_icache) CpuFeatures::FlushICache(p, sizeof(uint32_t));
|
| - } else if (rmode_ == DEBUG_BREAK_SLOT && IsPatchedDebugBreakSlotSequence()) {
|
| + } else if (IsDebugBreakSlot(rmode_) && IsPatchedDebugBreakSlotSequence()) {
|
| // Special handling of a debug break slot when a break point is set (call
|
| // instruction has been inserted).
|
| int32_t* p = reinterpret_cast<int32_t*>(pc_ + 1);
|
|
|