| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 91958652725464678ed0a5b82731a9b162721a4a..072634978ca25b7f8ea68ffb0b2edfeb8c0c94e1 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.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);
|
| }
|
|
|