Fix the semantics of delete on parameters.
authorkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Feb 2011 11:57:11 +0000 (11:57 +0000)
committerkmillikin@chromium.org <kmillikin@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 11 Feb 2011 11:57:11 +0000 (11:57 +0000)
commit2e08148b063006b0448a739b3d12ada5001cee79
tree8395df9416f920c96a7802608b0dffb845adfa12
parentbea46a272329c3f41330624a8eccb5ef54e9d040
Fix the semantics of delete on parameters.

Before, an attempt to delete a parameter in a function that used the
arguments object in any way would succeed with true and delete both
the parameter and the corresponding arguments object property.

Now, an attempt to delete such a parameter does not delete and
evaluates to false.

Parameters can be deleted, as before, from functions that use the
arguments object, by deleting the corresponding arguments object
property (this is a spec violation).

BUG=fixes v8:1136

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6745 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/full-codegen-arm.cc
src/hydrogen.cc
src/ia32/full-codegen-ia32.cc
src/x64/full-codegen-x64.cc