Index: src/crankshaft/x64/lithium-x64.cc |
diff --git a/src/crankshaft/x64/lithium-x64.cc b/src/crankshaft/x64/lithium-x64.cc |
index 3c932a24abde50fc7fc6115e5dec6cb891b6270b..86c71046bf124c5aea4e9190f59aa601c8d25f69 100644 |
--- a/src/crankshaft/x64/lithium-x64.cc |
+++ b/src/crankshaft/x64/lithium-x64.cc |
@@ -2485,8 +2485,7 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
return DefineAsSpilled(result, spill_index); |
} else { |
DCHECK(info()->IsStub()); |
- CallInterfaceDescriptor descriptor = |
- info()->code_stub()->GetCallInterfaceDescriptor(); |
+ CallInterfaceDescriptor descriptor = graph()->descriptor(); |
int index = static_cast<int>(instr->index()); |
Register reg = descriptor.GetRegisterParameter(index); |
return DefineFixed(result, reg); |