Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 346142be993dc71d6d997e45a64c4cdd2b6e39ee..37c6649249da1680ff7f662f511f1de40fa916f7 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -3377,7 +3377,7 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
// No need to allocate this register. |
DCHECK(VectorLoadICDescriptor::SlotRegister().is(x0)); |
__ Mov(VectorLoadICDescriptor::SlotRegister(), |
- Smi::FromInt(instr->hydrogen()->slot())); |
+ Smi::FromInt(instr->hydrogen()->slot().ToInt())); |
} |