Index: src/arm64/macro-assembler-arm64.cc |
diff --git a/src/arm64/macro-assembler-arm64.cc b/src/arm64/macro-assembler-arm64.cc |
index 8911a428da73ba37c571af6fce5ad4a4245fbd73..ecf9672459bb5b8cc92d68a3d6db83faf2c2e996 100644 |
--- a/src/arm64/macro-assembler-arm64.cc |
+++ b/src/arm64/macro-assembler-arm64.cc |
@@ -252,7 +252,7 @@ void MacroAssembler::Mov(const Register& rd, |
Register dst = (rd.IsSP()) ? temps.AcquireSameSizeAs(rd) : rd; |
if (operand.NeedsRelocation(this)) { |
- Ldr(dst, operand.immediate()); |
+ Ldr(dst, operand); |
} else if (operand.IsImmediate()) { |
// Call the macro assembler for generic immediates. |