Index: src/arm64/lithium-arm64.cc |
diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc |
index bce4a6cdb3a44ab0c570103f268f6990f6a61804..739f43ad1ff55aa95f145d2ddc7ab33f86bc7345 100644 |
--- a/src/arm64/lithium-arm64.cc |
+++ b/src/arm64/lithium-arm64.cc |
@@ -1988,10 +1988,10 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
return DefineAsSpilled(result, spill_index); |
} else { |
DCHECK(info()->IsStub()); |
- CodeStubInterfaceDescriptor* descriptor = |
- info()->code_stub()->GetInterfaceDescriptor(); |
+ CodeStubInterfaceDescriptor descriptor; |
+ info()->code_stub()->InitializeInterfaceDescriptor(&descriptor); |
int index = static_cast<int>(instr->index()); |
- Register reg = descriptor->GetEnvironmentParameterRegister(index); |
+ Register reg = descriptor.GetEnvironmentParameterRegister(index); |
return DefineFixed(result, reg); |
} |
} |