Switch CTI runtime calls to the fastcall calling convention
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Oct 2008 04:56:38 +0000 (04:56 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 8 Oct 2008 04:56:38 +0000 (04:56 +0000)
commit6dc83fb2ccc396434700573a72cac22b7ca2715a
treec87bcd8e9a56d29884bfe7fd7d3cc5c56a948c17
parent25e6865a7d47e151d3fb4c67d70d2e6633f48690
Switch CTI runtime calls to the fastcall calling convention

Reviewed by Cameron Zwarich

Basically this means that we get to store the argument for CTI
calls in the ECX register, which saves a register->memory write
and subsequent memory->register read.

This is a 1.7% progression in SunSpider and 2.4% on commandline
v8 tests on Windows

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37406 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/VM/CTI.cpp
JavaScriptCore/VM/CTI.h
JavaScriptCore/VM/Machine.h
JavaScriptCore/masm/X86Assembler.h
JavaScriptCore/wtf/Platform.h