|
[dictionaries] Use IsKey(Isolate* i, Object* o) everywhere
Using the isolate to check for IsUndefined and IsTheHole is roughly at least
20% faster in the worst-case and up to a factor 2x in the best case.
BUG=
Committed: https://crrev.com/764d4e6103404a18156f9916b277b999a43580f8
Cr-Commit-Position: refs/heads/master@{#36787}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+111 lines, -122 lines) |
Patch |
|
M |
src/api.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/bootstrapper.cc
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/builtins.cc
|
View
|
1
|
4 chunks |
+9 lines, -12 lines |
0 comments
|
Download
|
|
M |
src/elements.cc
|
View
|
1
|
4 chunks |
+11 lines, -30 lines |
0 comments
|
Download
|
|
M |
src/heap/incremental-marking.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/heap/mark-compact.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/objects.h
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/objects.cc
|
View
|
1
2
3
|
30 chunks |
+64 lines, -57 lines |
0 comments
|
Download
|
|
M |
src/objects-inl.h
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/profiler/heap-snapshot-generator.cc
|
View
|
1
|
5 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/runtime/runtime-collections.cc
|
View
|
1
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
Total messages: 9 (3 generated)
|