Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 760d427a681a9f0ea2eb15c3c5bc878922825b72..3109e4a2804f63b0d8e6a104573173b4b6267b98 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2405,7 +2405,8 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
return DefineAsSpilled(result, spill_index); |
} else { |
DCHECK(info()->IsStub()); |
- CodeStubInterfaceDescriptor descriptor(info()->code_stub()); |
+ CallInterfaceDescriptor descriptor = |
+ info()->code_stub()->GetCallInterfaceDescriptor(); |
int index = static_cast<int>(instr->index()); |
Register reg = descriptor.GetEnvironmentParameterRegister(index); |
return DefineFixed(result, reg); |