http://codereview.chromium.org/7331014/diff/1/src/arm/regexp-macro-assembler-arm.h
File src/arm/regexp-macro-assembler-arm.h (right):

http://codereview.chromium.org/7331014/diff/1/src/arm/regexp-macro-assembler-arm.h#newcode32
src/arm/regexp-macro-assembler-arm.h:32: #include
"arm/assembler-arm-inl.h"
On 2011/07/11 10:10:52, Kevin Millikin wrote:
I don't know if it's a good practice, but we usually assume that
xxx-inl.h
includes xxx.h already.  That is, we usually include one or the other,
but not both.

I wasn't able to deduce this from our code, and I'm not sure if we
follow this rule consistently. Anyway, more stuff for the upcoming
cleanups... :-)


Also, you should try to remember to the copyright dates :).

Ooops, I'll remember that next time, sorry.

http://codereview.chromium.org/7331014/diff/1/src/mips/regexp-macro-assembler-mips.h
File src/mips/regexp-macro-assembler-mips.h (right):

http://codereview.chromium.org/7331014/diff/1/src/mips/regexp-macro-assembler-mips.h#newcode34
src/mips/regexp-macro-assembler-mips.h:34: #include "macro-assembler.h"
On 2011/07/11 08:57:56, danno wrote:
Please include in alpabetical order:

IMHO this is a rather useless rule: If you have only a small handful of
#includes, nobody seriously cares about their order, because you can see
everything at first glance. If you have tons of #includes, you have very
different and much more serious problems (coupling/cohesion), where the
order is one of your least concerns. :-)

Anyway, back to the code at hand: The vast majority of our v8 headers
fail miserably when it comes to being self-contained, so we currently
*do* have lots of places where we have to rely on the order.

We really have to clean this up heavily, but this can only be done in
very small steps, because tiny changes ripple through tons of source
files at the moment.

http://codereview.chromium.org/7331014/diff/1/src/x64/regexp-macro-assembler-x64.h
File src/x64/regexp-macro-assembler-x64.h (right):

http://codereview.chromium.org/7331014/diff/1/src/x64/regexp-macro-assembler-x64.h#newcode35
src/x64/regexp-macro-assembler-x64.h:35: #include
"x64/macro-assembler-x64.h"
On 2011/07/11 08:57:56, danno wrote:
alphabetize

See related comment

http://codereview.chromium.org/7331014/diff/1/test/cctest/test-regexp.cc
File test/cctest/test-regexp.cc (right):

http://codereview.chromium.org/7331014/diff/1/test/cctest/test-regexp.cc#newcode45
test/cctest/test-regexp.cc:45: #include "code.h"
On 2011/07/11 08:57:56, danno wrote:
alphabetize

See related comment

http://codereview.chromium.org/7331014/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to