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)
commit3e1350f8e62156bd0d4c5f16c3137669e04fa109
treec87bcd8e9a56d29884bfe7fd7d3cc5c56a948c17
parent8cbcdd795744c927757314b21bb4fae3e71f4775
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: https://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