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