We need to insert the additional argument in the stack slot before return address instead of simply pushing it afterwards. Also getHostCallReturnValue* should be attributed as stdcall to make the stack cleaned up by the callee.
Created attachment 109260 [details]
Comment on attachment 109260 [details]
Clearing flags on attachment: 109260
Committed r96419: <http://trac.webkit.org/changeset/96419>
All reviewed patches have been landed. Closing bug.