Index: src/x87/lithium-codegen-x87.cc |
diff --git a/src/x87/lithium-codegen-x87.cc b/src/x87/lithium-codegen-x87.cc |
index a785c3aa8fd1ca2e170e9625b37a2d9c2771e57a..25496cc8142385cb10a6af2ea1e06418032d1384 100644 |
--- a/src/x87/lithium-codegen-x87.cc |
+++ b/src/x87/lithium-codegen-x87.cc |
@@ -3132,7 +3132,7 @@ void LCodeGen::EmitVectorLoadICRegisters(T* instr) { |
// No need to allocate this register. |
DCHECK(VectorLoadICDescriptor::SlotRegister().is(eax)); |
__ mov(VectorLoadICDescriptor::SlotRegister(), |
- Immediate(Smi::FromInt(instr->hydrogen()->slot()))); |
+ Immediate(Smi::FromInt(instr->hydrogen()->slot().ToInt()))); |
} |