|
Thread decls-list through Declaration using a ThreadedList
This reduces per-scope overhead from minimally 6 words to 2 words, with one additional pointer per entry, rather than an average of 2 per entry for larger-than-4 element lists. For temp zone parsed functions it additionally makes the declaration-list actually freeable.
This introduces ThreadedList to implement the details of dealing with such a list.
BUG= v8:5209
Committed: https://crrev.com/5a18685e08f2d2efc8c9ad44afc5adec8e42a4c8
Cr-Commit-Position: refs/heads/master@{#40703}
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+224 lines, -166 lines) |
Patch |
|
M |
src/asmjs/asm-typer.cc
|
View
|
|
3 chunks |
+4 lines, -9 lines |
0 comments
|
Download
|
|
M |
src/asmjs/asm-wasm-builder.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ast/ast.h
|
View
|
1
2
3
4
5
6
7
8
9
|
2 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-expression-rewriter.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/ast-expression-rewriter.cc
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-numbering.cc
|
View
|
|
2 chunks |
+3 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/ast/ast-traversal-visitor.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/ast/prettyprinter.cc
|
View
|
|
1 chunk |
+3 lines, -6 lines |
0 comments
|
Download
|
|
M |
src/ast/scopes.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/ast/scopes.cc
|
View
|
1
2
3
4
5
6
7
8
|
9 chunks |
+6 lines, -14 lines |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/compiler/ast-graph-builder.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/hydrogen.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
src/crankshaft/typing.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/typing.cc
|
View
|
1
2
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
src/full-codegen/full-codegen.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/full-codegen/full-codegen.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
src/interpreter/bytecode-generator.cc
|
View
|
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
M |
src/parsing/parser.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
src/utils.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
|
M |
test/cctest/asmjs/test-asm-typer.cc
|
View
|
1
2
3
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
|
M |
test/cctest/test-parsing.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+90 lines, -75 lines |
0 comments
|
Download
|
Total messages: 31 (19 generated)
|