Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Issue 6903175: Simplify include dependencies. (Closed)

Created:
9 years, 7 months ago by Kevin Millikin (Chromium)
Modified:
9 years, 7 months ago
Reviewers:
Erik Corry
CC:
v8-dev
Visibility:
Public.

Description

Simplify include dependencies. Try to make sure that accessors.h, data-flow.h, list-inl.h, and scopeinfo.h are included only where needed, but without introducing implicit dependencies. Committed: http://code.google.com/p/v8/source/detail?r=7756

Patch Set 1 #

Patch Set 2 : Added new file, modified .gyp file. #

Total comments: 9

Patch Set 3 : Also checked cctests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -193 lines) Patch
M src/accessors.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/ast-inl.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/char-predicates.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/codegen.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/compiler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/data-flow.h View 3 chunks +1 line, -138 lines 0 comments Download
M src/func-name-inferrer.cc View 2 chunks +2 lines, -1 line 0 comments Download
M src/global-handles.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/hashmap.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/heap.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/heap-inl.h View 2 chunks +3 lines, -2 lines 0 comments Download
M src/hydrogen.h View 2 chunks +1 line, -1 line 0 comments Download
M src/hydrogen.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/hydrogen-instructions.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/list.h View 2 chunks +3 lines, -1 line 0 comments Download
M src/lithium-allocator.h View 2 chunks +1 line, -2 lines 0 comments Download
M src/liveedit.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/objects.cc View 1 chunk +0 lines, -1 line 0 comments Download
M src/parser.cc View 2 chunks +1 line, -3 lines 0 comments Download
M src/preparse-data.h View 2 chunks +2 lines, -1 line 0 comments Download
M src/preparse-data.cc View 1 chunk +3 lines, -6 lines 0 comments Download
M src/profile-generator.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M src/runtime.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M src/scanner-base.h View 1 chunk +3 lines, -4 lines 0 comments Download
M src/serialize.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M src/spaces.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/utils.h View 2 chunks +2 lines, -9 lines 0 comments Download
A src/utils-inl.h View 1 1 chunk +48 lines, -0 lines 0 comments Download
M test/cctest/test-heap-profiler.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M test/cctest/test-utils.cc View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M tools/gyp/v8.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Kevin Millikin (Chromium)
http://codereview.chromium.org/6903175/diff/2001/src/ast-inl.h File src/ast-inl.h (right): http://codereview.chromium.org/6903175/diff/2001/src/ast-inl.h#newcode34 src/ast-inl.h:34: #include "scopes.h" Clearly needed here, was getting it implicitly ...
9 years, 7 months ago (2011-05-02 16:37:00 UTC) #1
Erik Corry
9 years, 7 months ago (2011-05-02 16:56:15 UTC) #2
LGTM.  I'm not mad keen on including -inl files in .h files, but there's lots of
good stuff here and I guess there's a good reason.

Powered by Google App Engine
This is Rietveld 408576698