Fix ABI for API calls on ia32.
authorvegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Jul 2011 11:36:52 +0000 (11:36 +0000)
committervegorov@chromium.org <vegorov@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 5 Jul 2011 11:36:52 +0000 (11:36 +0000)
commite3b1fe2c146370c0bb4e7464a0aa801bbd4334e4
treeee8f1bcd42200e4003dd866f7550355a33685c76
parent0f682143d9a50441188ae09cbd669f5389e44597
Fix ABI for API calls on ia32.

Instead of relying on eax value after the call load returned handle value directly from the slot that was preallocated for it.

R=vitalyr@chromium.org

Review URL: http://codereview.chromium.org/7307004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8533 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/macro-assembler-ia32.cc
src/ia32/macro-assembler-ia32.h
src/ia32/stub-cache-ia32.cc