Reviewers: rossberg,

Message:
PTAL.

Description:
Implement Harmony sets and maps.

This implementation extends the internal ObjectHashTable to be able to
hold arbitrary objects (e.g. Smis, Strings, ...) as keys by applying
specialized hasing functions to primitive types. Equality of keys is
defined using the internal SameValue function.

[email protected]
BUG=v8:1622
TEST=mjsunit/harmony/collections,mjsunit/harmony/weakmaps


Please review this at http://codereview.chromium.org/8372027/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/bootstrapper.cc
  A src/collection.js
  M src/factory.h
  M src/factory.cc
  M src/flag-definitions.h
  M src/handles.h
  M src/handles.cc
  M src/macros.py
  M src/objects-debug.cc
  M src/objects-inl.h
  M src/objects-visiting.cc
  M src/objects.h
  M src/objects.cc
  M src/runtime.h
  M src/runtime.cc
  M src/utils.h
  M src/v8.cc
  A + test/mjsunit/harmony/collections.js
  M test/mjsunit/harmony/proxies-hash.js
  M test/mjsunit/harmony/weakmaps.js
  M tools/gyp/v8.gyp


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to