Since we can check the arity matches at link time we can remove the call out to C, the indirect branch, and the need to access either CodeBlock. ~20% progression on deltablue & richards, >12% overall reduction in v8-tests runtime, one or two percent progression on sunspider.
Created attachment 24475 [details] The patch
Comment on attachment 24475 [details] The patch r=me, you need to test build with CTI_ARGUMENT enabled, and CTI_FASTCALL_ARGUMENT
(In reply to comment #2) > (From update of attachment 24475 [details] [edit]) > r=me, you need to test build with CTI_ARGUMENT enabled, and > CTI_FASTCALL_ARGUMENT > Done! Sending JavaScriptCore/ChangeLog Sending JavaScriptCore/VM/CTI.cpp Sending JavaScriptCore/VM/CTI.h Sending JavaScriptCore/VM/CodeBlock.cpp Sending JavaScriptCore/VM/CodeBlock.h Sending JavaScriptCore/VM/CodeGenerator.cpp Sending JavaScriptCore/VM/Machine.cpp Sending JavaScriptCore/VM/Machine.h Sending JavaScriptCore/kjs/JSFunction.cpp Sending JavaScriptCore/kjs/JSFunction.h Sending JavaScriptCore/kjs/nodes.h Sending JavaScriptCore/masm/X86Assembler.h Transmitting file data ............ Committed revision 37670.