Index: src/arm64/assembler-arm64-inl.h |
diff --git a/src/arm64/assembler-arm64-inl.h b/src/arm64/assembler-arm64-inl.h |
index 373f15dc4b1967bd91f7e960903d6dbe4593766d..1432c288d8d8d0bed2815c03222ebe22236b811f 100644 |
--- a/src/arm64/assembler-arm64-inl.h |
+++ b/src/arm64/assembler-arm64-inl.h |
@@ -867,8 +867,8 @@ bool RelocInfo::IsPatchedReturnSequence() { |
// See arm64/debug-arm64.cc BreakLocation::SetDebugBreakAtReturn(). |
Instruction* i1 = reinterpret_cast<Instruction*>(pc_); |
Instruction* i2 = i1->following(); |
- return i1->IsLdrLiteralX() && (i1->Rt() == ip0.code()) && |
- i2->IsBranchAndLinkToRegister() && (i2->Rn() == ip0.code()); |
+ return i1->IsLdrLiteralX() && (i1->Rt() == kIp0Code) && |
+ i2->IsBranchAndLinkToRegister() && (i2->Rn() == kIp0Code); |
} |