| Index: src/arm/code-stubs-arm.cc
|
| diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc
|
| index 1bc9b2b6350fdbb3d2d5c3a6c4b28f024442bf9e..69d6752e09b2f87c48e2a0316ab893d91d7d719a 100644
|
| --- a/src/arm/code-stubs-arm.cc
|
| +++ b/src/arm/code-stubs-arm.cc
|
| @@ -122,19 +122,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.
|
| FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL);
|
| DCHECK(param_count == 0 ||
|
| - r0.is(descriptor->GetEnvironmentParameterRegister(
|
| - param_count - 1)));
|
| + r0.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);
|
| }
|
|
|
|
|