Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 848fc2217254d4837676596972b27676701c7134..4ec733c702aa9b349167973174c472be47415889 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -108,15 +108,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 || |
- r3.is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
+ r3.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); |
} |