|
include only stuff you need, part 1: ast.h, ast-value-factory.h.
Rebuilding (after touching certain files) is crazy slow because
includes are out of control.
Fixing it:
- Don't include stuff in headers unless necessary.
- Include the stuff you need, not some other stuff that happens to include the
stuff you need.
BUG= v8:5294
Committed: https://crrev.com/0a0285bf5db61009c0f621aeecac8db64c0a2616
Cr-Commit-Position: refs/heads/master@{#38708}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+16 lines, -13 lines) |
Patch |
|
M |
src/allocation-site-scopes.h
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
src/allocation-site-scopes.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
src/asmjs/asm-js.cc
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
1 comment
|
Download
|
|
M |
src/ast/variables.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/compiler.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
1 comment
|
Download
|
|
M |
src/crankshaft/hydrogen-osr.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
src/crankshaft/typing.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
src/frames.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
1 comment
|
Download
|
|
M |
src/isolate.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/parsing/parameter-initializer-rewriter.h
|
View
|
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
|
M |
src/regexp/jsregexp.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
src/runtime/runtime-literals.cc
|
View
|
1
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 21 (14 generated)
|