Index: src/mips64/lithium-mips64.cc |
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc |
index 22f0bf7c813d499ad773fc8efd1a9423bc4ce748..742ccdb862ec8e3ac784fac34fcbe86241482792 100644 |
--- a/src/mips64/lithium-mips64.cc |
+++ b/src/mips64/lithium-mips64.cc |
@@ -2392,10 +2392,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); |
} |
} |