Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 5a4036627d27d3470106159f63db299af0a3eb0c..26e8c6cb0ff38df8e35281613789addffd5d5556 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-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); |