Fix a stack height mismatch when deoptimizing.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Mar 2011 09:32:45 +0000 (09:32 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 1 Mar 2011 09:32:45 +0000 (09:32 +0000)
commit6b1530ea6dde210fae65bbb676d3802c748fd456
treed78fb2b2fc5f5afa323de01ecfecb0d27b4fb0b9
parent83248ea0fd0e41a490046f461c62e8bdf3e3dfaf
Fix a stack height mismatch when deoptimizing.

When deoptimizing from the key subexpression of a keyed arguments access,
the unoptimized code expects to find the value of the receiver on the
expression stack.  The environment of the optimizing compiler did not
contain this value during evaluation of the key subexpression.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6981 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/hydrogen.cc
test/mjsunit/regress/regress-1210.js [new file with mode: 0644]