Index: src/x87/code-stubs-x87.cc |
diff --git a/src/x87/code-stubs-x87.cc b/src/x87/code-stubs-x87.cc |
index affa69fd4e2e0040d242a3a77572916704f1eac9..69ac48503c32a99425b5e67a8fd102d293de9773 100644 |
--- a/src/x87/code-stubs-x87.cc |
+++ b/src/x87/code-stubs-x87.cc |
@@ -106,15 +106,15 @@ 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 || |
- eax.is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
+ eax.is(descriptor.GetRegisterParameter(param_count - 1))); |
// Push arguments |
for (int i = 0; i < param_count; ++i) { |
- __ push(descriptor.GetEnvironmentParameterRegister(i)); |
+ __ push(descriptor.GetRegisterParameter(i)); |
} |
__ CallExternalReference(miss, param_count); |
} |