We can reduce the size of the virtual call trampolines by moving the arity check into the callee functions. As a following step we will be able to remove the check for native function / codeblocks by performing translation in a lazy stub.
Created attachment 57365 [details] The patch no perf impact
Comment on attachment 57365 [details] The patch Please remove the commented out printfs before landing. r=me.
Transmitting file data ......... Committed revision 60376.