// Calling convention: f(edi, esi, edx, ecx, ...);
Can someone save me some time and let me know what the correct calling convention for ARM64 is? Then I can update the comment in the patch for bug #122762. Otherwise, when I have a moment I'll look to fix up this comment.
The best place to look for the calling convention is GPRInfo.h. Look for argumentGPR0, argumentGPR1, etc.