Separate UnicodeCache out into an own file.
authormstarzinger <mstarzinger@chromium.org>
Thu, 20 Aug 2015 11:46:54 +0000 (04:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 11:47:09 +0000 (11:47 +0000)
commit4e39437a027f62af700336421a5243fff9978d34
treed2fbc3218d90fe6d51263c0b71f64c859fdb0a89
parentf8874287db3d0c6eb1ed943024f9159ea52e7897
Separate UnicodeCache out into an own file.

This make inclusion of unicode-inl.h in object.h absolete. Now most
compilation units don't require that header. It also breaks a cycle
within declarations of the scanner.h header.

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 3 violations of that rule in the
code, checked with the "tools/check-inline-includes.sh" tool.

R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30268}
BUILD.gn
src/conversions-inl.h
src/dateparser-inl.h
src/dateparser.h
src/objects.h
src/runtime/runtime.h
src/scanner.h
src/unicode-cache-inl.h [new file with mode: 0644]
src/unicode-cache.h [new file with mode: 0644]
tools/gyp/v8.gyp