|
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 hashing functions to primitive types. Equality of keys is
defined using the internal SameValue function.
R=rossberg@chromium.org
BUG= v8:1622
TEST=mjsunit/harmony/collections
Committed: http://code.google.com/p/v8/source/detail?r=9777
Total comments: 18
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+885 lines, -501 lines) |
Patch |
|
M |
src/SConscript
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
2
|
2 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
|
A + |
src/collection.js
|
View
|
1
2
|
2 chunks |
+85 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/factory.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/flag-definitions.h
|
View
|
1
2
|
1 chunk |
+2 lines, -1 line |
2 comments
|
Download
|
|
M |
src/handles.h
|
View
|
1
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
src/handles.cc
|
View
|
1
|
1 chunk |
+17 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
8 chunks |
+102 lines, -11 lines |
2 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
5 chunks |
+106 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
|
2 chunks |
+22 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
|
14 chunks |
+59 lines, -188 lines |
0 comments
|
Download
|
|
M |
src/objects-visiting.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime.h
|
View
|
1
2
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/runtime.cc
|
View
|
1
2
|
1 chunk |
+76 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/utils.h
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/v8.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
D |
src/weakmap.js
|
View
|
1
2
|
1 chunk |
+0 lines, -98 lines |
0 comments
|
Download
|
|
A |
test/mjsunit/harmony/collections.js
|
View
|
1
2
|
1 chunk |
+273 lines, -0 lines |
6 comments
|
Download
|
|
M |
test/mjsunit/harmony/proxies-hash.js
|
View
|
1
2
|
1 chunk |
+68 lines, -12 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/weakmaps.js
|
View
|
1
2
|
1 chunk |
+0 lines, -167 lines |
0 comments
|
Download
|
|
M |
tools/gyp/v8.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|