Index: src/arm64/instructions-arm64.cc |
diff --git a/src/arm64/instructions-arm64.cc b/src/arm64/instructions-arm64.cc |
index 3264370064c9c285eb0eefb109307ba8aa33be01..c7334ed5cfc4b2584360d66ed1490cf5d2f79dd2 100644 |
--- a/src/arm64/instructions-arm64.cc |
+++ b/src/arm64/instructions-arm64.cc |
@@ -280,7 +280,7 @@ void Instruction::SetBranchImmTarget(Instruction* target) { |
void Instruction::SetImmLLiteral(Instruction* source) { |
ASSERT(IsAligned(DistanceTo(source), kInstructionSize)); |
- ptrdiff_t offset = DistanceTo(source) >> kLiteralEntrySizeLog2; |
+ ptrdiff_t offset = DistanceTo(source) >> kLoadLiteralScaleLog2; |
Instr imm = Assembler::ImmLLiteral(offset); |
Instr mask = ImmLLiteral_mask; |