Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 49b7c8364682974f3eaf0df0e38aa2e54d5abf19..0ab6c1d09162ce29f28e7bf52b2bccf517e83a0a 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2494,7 +2494,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); |