Index: src/mips/assembler-mips-inl.h |
=================================================================== |
--- src/mips/assembler-mips-inl.h (revision 13918) |
+++ src/mips/assembler-mips-inl.h (working copy) |
@@ -139,14 +139,14 @@ |
Address RelocInfo::target_address() { |
- ASSERT(IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY); |
+ ASSERT(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
return Assembler::target_address_at(pc_); |
} |
Address RelocInfo::target_address_address() { |
ASSERT(IsCodeTarget(rmode_) || |
- rmode_ == RUNTIME_ENTRY || |
+ IsRuntimeEntry(rmode_) || |
rmode_ == EMBEDDED_OBJECT || |
rmode_ == EXTERNAL_REFERENCE); |
// Read the address of the word containing the target_address in an |
@@ -174,7 +174,7 @@ |
void RelocInfo::set_target_address(Address target, WriteBarrierMode mode) { |
- ASSERT(IsCodeTarget(rmode_) || rmode_ == RUNTIME_ENTRY); |
+ ASSERT(IsCodeTarget(rmode_) || IsRuntimeEntry(rmode_)); |
Assembler::set_target_address_at(pc_, target); |
if (mode == UPDATE_WRITE_BARRIER && host() != NULL && IsCodeTarget(rmode_)) { |
Object* target_code = Code::GetCodeFromTargetAddress(target); |
@@ -372,7 +372,7 @@ |
Isolate::Current()->debug()->has_break_points()) { |
visitor->VisitDebugTarget(this); |
#endif |
- } else if (mode == RelocInfo::RUNTIME_ENTRY) { |
+ } else if (RelocInfo::IsRuntimeEntry(mode)) { |
visitor->VisitRuntimeEntry(this); |
} |
} |
@@ -399,7 +399,7 @@ |
IsPatchedDebugBreakSlotSequence()))) { |
StaticVisitor::VisitDebugTarget(heap, this); |
#endif |
- } else if (mode == RelocInfo::RUNTIME_ENTRY) { |
+ } else if (RelocInfo::IsRuntimeEntry(mode)) { |
StaticVisitor::VisitRuntimeEntry(this); |
} |
} |