Index: src/x87/lithium-x87.cc |
diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc |
index 61aebdf7d80e2344b1b642db01e8d82646c8cee5..b9488d96cf7d86917978d1a3c94e17221b328b18 100644 |
--- a/src/x87/lithium-x87.cc |
+++ b/src/x87/lithium-x87.cc |
@@ -2490,7 +2490,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); |