In trac.webkit.org/changeset/37406, we added __fastcall support to CTI runtime calls. It was there that we copied ESP to ECX in ctiTrampoline as the first argument to the called function. ctiTrampoline is now callToJavaScript thunk. Upon entry to a function, we trash ECX, when we use it to save the returnPC. All arguments to called JavaScript are in the argument slots of the call frame. I'm not sure when we no longer needed , but it can be removed now.
Created attachment 216312 [details] Patch
Comment on attachment 216312 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=216312&action=review r=me with comment fixed. > Source/JavaScriptCore/ChangeLog:9 > + funciton is no longer needed. "funciton" ==> "function"
Committed r158857: <http://trac.webkit.org/changeset/158857>