Revert r3032 that uses push instead of 'sub esp, size'. This change
authorager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Nov 2009 14:58:16 +0000 (14:58 +0000)
committerager@chromium.org <ager@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 10 Nov 2009 14:58:16 +0000 (14:58 +0000)
commit963d72ff57573f903b402f630ece873d3875fdbe
treed59734702ad59b5e6c4d3a10f47f08ec0ef6ccf0
parent91cc4c7ebbf6edb6345ec79536f71817daed8340
Revert r3032 that uses push instead of 'sub esp, size'.  This change
leads to stack corruption in 32-bit version of V8.

See http://code.google.com/p/chromium/issues/detail?id=27227 for a
reproducible case.

Since this is only an issue on 32-bit V8 I think this has got
something to do with the UnsafeSmi handling that we do on ia32.  I'm
reverting for now so we can push a fix, but we should track down the
issue and create a regression test for this.

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3263 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/ia32/virtual-frame-ia32.cc
src/x64/virtual-frame-x64.cc