Fix Harmony sets and maps to allow null as key.
authormstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Nov 2011 14:17:05 +0000 (14:17 +0000)
committermstarzinger@chromium.org <mstarzinger@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Thu, 3 Nov 2011 14:17:05 +0000 (14:17 +0000)
commit79cadcc947a7906ce178de3f3f0c9a83ed7166fa
treea4dfefa27b353f9589bc794e237d762b18342185
parentfd21937812621bc18722ac337ecff449a49734dd
Fix Harmony sets and maps to allow null as key.

This changes the internal convention for marking deleted entries in hash
tables from null_value to the_hole_value, which is consistent with other
usages of the_hole.

R=rossberg@chromium.org,kmillikin@chromium.org
BUG=v8:1622
TEST=mjsunit/harmony/collections

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9871 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/heap-inl.h
src/heap.cc
src/mark-compact.cc
src/objects-inl.h
src/objects.cc
src/objects.h
test/mjsunit/harmony/collections.js