|
Move prototype metadata from internal properties to prototype maps
The motivation is that we prefer to avoid creating internal properties, and we have a usable field on maps ("transitions", which is not used for prototype maps).
This CL also ensures the invariant that prototype maps are never shared, even if they are in dictionary mode.
Committed: https://crrev.com/90cbede58882383173963809c90bf5514cc91648
Cr-Commit-Position: refs/heads/master@{#27617}
Total comments: 4
Total comments: 8
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+200 lines, -105 lines) |
Patch |
|
M |
include/v8.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/factory.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/factory.cc
|
View
|
1
2
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/heap-snapshot-generator.cc
|
View
|
1
|
2 chunks |
+17 lines, -8 lines |
0 comments
|
Download
|
|
M |
src/heap/heap.h
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/objects-visiting-inl.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
11 chunks |
+68 lines, -26 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
|
8 chunks |
+45 lines, -35 lines |
0 comments
|
Download
|
|
M |
src/objects-debug.cc
|
View
|
1
2
3
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
|
6 chunks |
+22 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/objects-printer.cc
|
View
|
1
2
|
3 chunks |
+14 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/transitions.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/fast-prototype.js
|
View
|
|
3 chunks |
+4 lines, -14 lines |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-put-prototype-transition.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|