Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 8091ff96928c54c19a999556a8d6cd2f9f228ac4..2058b153b55fd6ed92b786d54487e08bfb926ee3 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -110,7 +110,8 @@ class MipsOperandConverter FINAL : public InstructionOperandConverter { |
DCHECK(!op->IsDoubleRegister()); |
DCHECK(op->IsStackSlot() || op->IsDoubleStackSlot()); |
// The linkage computes where all spill slots are located. |
- FrameOffset offset = linkage()->GetFrameOffset(op->index(), frame(), 0); |
+ FrameOffset offset = linkage()->GetFrameOffset( |
+ AllocatedOperand::cast(op)->index(), frame(), 0); |
return MemOperand(offset.from_stack_pointer() ? sp : fp, offset.offset()); |
} |
}; |