Index: src/x87/lithium-x87.cc |
diff --git a/src/x87/lithium-x87.cc b/src/x87/lithium-x87.cc |
index 3e64f19ff425a846353fb30a6c4728b0b5813d7f..392335b6b132bfad85a971589703cd7e862237d8 100644 |
--- a/src/x87/lithium-x87.cc |
+++ b/src/x87/lithium-x87.cc |
@@ -2477,10 +2477,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); |
} |
} |