Index: src/mips64/code-stubs-mips64.cc |
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc |
index cf421497943fa933cddd5599cfeb13d335bb34da..1ce0a57a6e7c1059a3553c62e5904896b64214f0 100644 |
--- a/src/mips64/code-stubs-mips64.cc |
+++ b/src/mips64/code-stubs-mips64.cc |
@@ -111,17 +111,17 @@ void HydrogenCodeStub::GenerateLightweightMiss(MacroAssembler* masm, |
isolate()->counters()->code_stubs()->Increment(); |
CallInterfaceDescriptor descriptor = GetCallInterfaceDescriptor(); |
- int param_count = descriptor.GetEnvironmentParameterCount(); |
+ int param_count = descriptor.GetRegisterParameterCount(); |
{ |
// 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.GetRegisterParameter(param_count - 1))); |
// Push arguments, adjust sp. |
__ Dsubu(sp, sp, Operand(param_count * kPointerSize)); |
for (int i = 0; i < param_count; ++i) { |
// Store argument to stack. |
- __ sd(descriptor.GetEnvironmentParameterRegister(i), |
+ __ sd(descriptor.GetRegisterParameter(i), |
MemOperand(sp, (param_count - 1 - i) * kPointerSize)); |
} |
__ CallExternalReference(miss, param_count); |