Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index 634402407e4fd42b2d11caf52ead2f92cbf67ac5..7f5e2a3044e8861debbf94cf32bc9f687487ff81 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -2001,7 +2001,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); |