| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 11065ec94797aac3621c55fbb7541e473d71f426..4760669ad6832587fd7d5a6d4bfc2af47cd46d09 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -115,19 +115,19 @@ void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm) {
|
| // Update the static counter each time a new code stub is generated.
|
| isolate()->counters()->code_stubs()->Increment();
|
|
|
| - CodeStubInterfaceDescriptor* descriptor = GetInterfaceDescriptor();
|
| - int param_count = descriptor->GetEnvironmentParameterCount();
|
| + CodeStubInterfaceDescriptor descriptor;
|
| + InitializeInterfaceDescriptor(&descriptor);
|
| + int param_count = descriptor.GetEnvironmentParameterCount();
|
| {
|
| // Call the runtime system in a fresh internal frame.
|
| FrameScope scope(masm, StackFrame::INTERNAL);
|
| DCHECK(param_count == 0 ||
|
| - eax.is(descriptor->GetEnvironmentParameterRegister(
|
| - param_count - 1)));
|
| + eax.is(descriptor.GetEnvironmentParameterRegister(param_count - 1)));
|
| // Push arguments
|
| for (int i = 0; i < param_count; ++i) {
|
| - __ push(descriptor->GetEnvironmentParameterRegister(i));
|
| + __ push(descriptor.GetEnvironmentParameterRegister(i));
|
| }
|
| - ExternalReference miss = descriptor->miss_handler();
|
| + ExternalReference miss = descriptor.miss_handler();
|
| __ CallExternalReference(miss, param_count);
|
| }
|
|
|
|
|