Reviewers: Vyacheslav Egorov, Message: This re-factors the GetIdentityHash implementation into the internal API and adds a simplistic unit test for the new ObjectDictionary.
The only thing missing is for Dictionary::Add to check for an invalid identity hash code and return a failure in that case. But I wanted to get an early review
to see if this is heading into the right direction. Description: Added dictionary that can use objects as keys. [email protected] BUG= TEST= Please review this at http://codereview.chromium.org/7349005/ SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge Affected files: M src/api.cc M src/handles.h M src/handles.cc M src/objects-inl.h M src/objects.h M src/objects.cc M test/cctest/SConscript A test/cctest/test-dictionary.cc -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
