Minor change to for-in
authorsgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Aug 2010 13:46:10 +0000 (13:46 +0000)
committersgjesse@chromium.org <sgjesse@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Aug 2010 13:46:10 +0000 (13:46 +0000)
commitfcfe6d74d99260e29976606f502c7eab0f9d72d7
treed24ee9211431fc0343bf8eca52b594423bb29518
parent7d20398fd3ffb9cafc97b889bff1ee87f6a67cdf
Minor change to for-in

Return (smi) 0 instead of object null from the FILTER_KEY builtin.

Add a test which tests keys being deleted during for-in.
Review URL: http://codereview.chromium.org/3170004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5243 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/arm/codegen-arm.cc
src/arm/full-codegen-arm.cc
src/ia32/codegen-ia32.cc
src/ia32/full-codegen-ia32.cc
src/runtime.js
src/x64/codegen-x64.cc
src/x64/full-codegen-x64.cc
test/mjsunit/for-in-delete.js [new file with mode: 0644]