Index: src/arm64/instructions-arm64.cc |
diff --git a/src/arm64/instructions-arm64.cc b/src/arm64/instructions-arm64.cc |
index 814ead318c749960cebcd3ace5767f36cfa87bb1..fce7a67ba508c41265eae107d6a18519e84a5530 100644 |
--- a/src/arm64/instructions-arm64.cc |
+++ b/src/arm64/instructions-arm64.cc |
@@ -319,7 +319,7 @@ void Instruction::SetImmLLiteral(Instruction* source) { |
bool InstructionSequence::IsInlineData() const { |
// Inline data is encoded as a single movz instruction which writes to xzr |
// (x31). |
- return IsMovz() && SixtyFourBits() && (Rd() == xzr.code()); |
+ return IsMovz() && SixtyFourBits() && (Rd() == kZeroRegCode); |
// TODO(all): If we extend ::InlineData() to support bigger data, we need |
// to update this method too. |
} |