Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index b99a3b1e5b1f4d132736f509056cb25f894bb317..1764dd67cdfa578403bc52bd82f2f7e9d4d3945d 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2501,10 +2501,10 @@ LInstruction* LChunkBuilder::DoParameter(HParameter* instr) { |
return DefineAsSpilled(result, spill_index); |
} else { |
DCHECK(info()->IsStub()); |
- CodeStubInterfaceDescriptor* descriptor = |
- info()->code_stub()->GetInterfaceDescriptor(); |
+ CodeStubInterfaceDescriptor descriptor; |
mvstanton
2014/09/05 13:38:44
It will be great when you allow writing:
CodeStub
|
+ 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); |
} |
} |