|
|
Introduce a PrototypeIterator template and use it all over the place
The idea is to have one central place where all prototype access happens.
The different template parameters specialize on
- How to objects are stored (raw pointer vs handle)
- Whether we walk the prototype chain based on the map, or via a type switch
- Where the prototype chain ends (null value, non hidden prototype,
given object)
A macro is provided for the common case that only the first prototype is
accessed.
BUG=???
R=dcarney@chromium.org,verwaest@chromium.org
LOG=n
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+499 lines, -198 lines) |
Patch |
 |
M |
BUILD.gn
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
src/accessors.cc
|
View
|
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/api.cc
|
View
|
|
3 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/builtins.cc
|
View
|
|
5 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
src/deoptimizer.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/heap-snapshot-generator.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/hydrogen.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/ic.cc
|
View
|
|
5 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/ic-inl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/isolate.cc
|
View
|
1
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
src/json-stringifier.h
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/objects.h
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/objects.cc
|
View
|
|
35 chunks |
+81 lines, -94 lines |
0 comments
|
Download
|
 |
M |
src/objects-inl.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/objects-printer.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
src/prototype-iterator.h
|
View
|
|
1 chunk |
+291 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/runtime.cc
|
View
|
1
|
17 chunks |
+49 lines, -51 lines |
0 comments
|
Download
|
 |
M |
src/string-stream.cc
|
View
|
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/stub-cache.cc
|
View
|
|
4 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
tools/gyp/v8.gyp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|