Remove inline header includes from non-inline headers (1).
authormstarzinger <mstarzinger@chromium.org>
Wed, 12 Aug 2015 07:32:36 +0000 (00:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Aug 2015 07:32:54 +0000 (07:32 +0000)
commit00a07bc1b77420792de9ea8a1842f732b520198e
tree3cbfa4f6af4df69a9393245a3ac2fe022bcaf6a9
parentc1d20f831bea84f83973288bca02d959119f1504
Remove inline header includes from non-inline headers (1).

This tries to remove includes of "-inl.h" headers from normal ".h"
headers, thereby reducing the chance of any cyclic dependencies and
decreasing the average size of our compilation units.

Note that this change still leaves 7 violations of that rule in the
code. However there now is the "tools/check-inline-includes.sh" tool
detecting such violations.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/1283033003

Cr-Commit-Position: refs/heads/master@{#30125}
46 files changed:
src/allocation-tracker.cc
src/api.cc
src/api.h
src/arm/regexp-macro-assembler-arm.h
src/arm64/macro-assembler-arm64.h
src/arm64/regexp-macro-assembler-arm64.h
src/assembler.h
src/ast.h
src/char-predicates.h
src/compiler/common-node-cache.cc
src/compiler/frame-states.cc
src/compiler/frame-states.h
src/cpu-profiler.cc
src/cpu-profiler.h
src/d8-posix.cc
src/d8.h
src/dateparser-inl.h
src/dateparser.cc
src/dateparser.h
src/gdb-jit.cc
src/heap-profiler.cc
src/heap-profiler.h
src/heap/heap-inl.h
src/heap/heap.h
src/ia32/regexp-macro-assembler-ia32.h
src/isolate.h
src/json-parser.h
src/jsregexp.cc
src/mips/regexp-macro-assembler-mips.h
src/mips64/regexp-macro-assembler-mips64.h
src/ppc/regexp-macro-assembler-ppc.h
src/profile-generator.cc
src/profile-generator.h
src/property.h
src/runtime/runtime-json.cc
src/scanner.h
src/string-builder.cc
src/string-builder.h
src/typing.cc
src/unique.h
src/x64/regexp-macro-assembler-x64.h
src/x87/regexp-macro-assembler-x87.h
test/cctest/cctest.h
test/cctest/test-heap-profiler.cc
test/cctest/test-regexp.cc
tools/check-inline-includes.sh [new file with mode: 0755]