Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 6b123e630d94c960924731822e3d8e1e4d396584..c343afd851f0d9e572f1a7b2c1199fe506ba00c8 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2481,10 +2481,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); |
} |
} |