|
[runtime] Object.create(null) creates a slow object
Object.create(null) is most likely to be used for dictionary-like objects.
Hence it would be beneficial to directly create a slow-mode object and avoid
additional overhead later-on.
BUG=
Committed: https://crrev.com/532c16eca071df3ec8eed394dcebb932ef584ee6
Cr-Commit-Position: refs/heads/master@{#40551}
Total comments: 13
Total comments: 19
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+224 lines, -29 lines) |
Patch |
|
M |
src/bootstrapper.cc
|
View
|
1
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/builtins/builtins-object.cc
|
View
|
1
2
3
|
3 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/code-stub-assembler.h
|
View
|
1
2
3
4
|
6 chunks |
+19 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/code-stub-assembler.cc
|
View
|
1
2
3
4
|
6 chunks |
+90 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-assembler.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
src/compiler/code-assembler.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/contexts.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
3
4
|
5 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
2
3
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-object.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
test/cctest/test-code-stub-assembler.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+62 lines, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/es6/symbols.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/harmony/private.js
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
test/mjsunit/regress/regress-252797.js
|
View
|
|
1 chunk |
+7 lines, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 32 (16 generated)
|