Index: src/mips/code-stubs-mips.cc |
diff --git a/src/mips/code-stubs-mips.cc b/src/mips/code-stubs-mips.cc |
index 4f7bdcd6baa2541d378cea0c0510a852546b2e5d..7bf5799155154882d54e7eba47c06930fb02959d 100644 |
--- a/src/mips/code-stubs-mips.cc |
+++ b/src/mips/code-stubs-mips.cc |
@@ -122,22 +122,22 @@ 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 || |
- a0.is(descriptor->GetEnvironmentParameterRegister( |
- param_count - 1))); |
+ a0.is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
// Push arguments, adjust sp. |
__ Subu(sp, sp, Operand(param_count * kPointerSize)); |
for (int i = 0; i < param_count; ++i) { |
// Store argument to stack. |
- __ sw(descriptor->GetEnvironmentParameterRegister(i), |
+ __ sw(descriptor.GetEnvironmentParameterRegister(i), |
MemOperand(sp, (param_count-1-i) * kPointerSize)); |
} |
- ExternalReference miss = descriptor->miss_handler(); |
+ ExternalReference miss = descriptor.miss_handler(); |
__ CallExternalReference(miss, param_count); |
} |