Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index 676079153f37ef56ae6b3473905056acb638e4ed..2d2328c1b5a20121d7a329f2a4a70ad41fc2efa4 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -102,17 +102,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) || |
- x0.Is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
+ x0.Is(descriptor.GetRegisterParameter(param_count - 1))); |
// Push arguments |
MacroAssembler::PushPopQueue queue(masm); |
for (int i = 0; i < param_count; ++i) { |
- queue.Queue(descriptor.GetEnvironmentParameterRegister(i)); |
+ queue.Queue(descriptor.GetRegisterParameter(i)); |
} |
queue.PushQueued(); |