Reviewers: Mads Ager,

Message:
I had to add -fno-strict-aliasing in order to compile with gcc 4.4.1.  I can
commit without that change if we wish.

Description:
Small simplification of #include dependencies.

Remove messages.h from v8.h and include it explicitly in only the few places
it is needed.  Many files relied on getting handles-inl.h implicitly from
messages.h through v8.h, so include handles-inl.h explicitly in v8.h
instead.

Remove zone-inl.h from header files where it is not needed, can be replaced
by a forward declaration, or can be replaced by zone.h (specifically,
factory.h and heap.h).  Include zone.h or zone-inl.h in header files where
it was implicitly included via heap.h or factory.h.  Prefer zone.h over
zone-inl.h in header files where possible by including zone-inl.h in .cc
files.

Please review this at http://codereview.chromium.org/668248

Affected files:
  M SConstruct
  M src/accessors.cc
  M src/api.cc
  M src/assembler.h
  M src/debug.cc
  M src/factory.h
  M src/frame-element.h
  M src/frame-element.cc
  M src/frames.cc
  M src/heap-profiler.h
  M src/heap-profiler.cc
  M src/heap.h
  M src/jsregexp.h
  M src/jump-target.h
  M src/messages.cc
  M src/parser.cc
  M src/scopeinfo.h
  M src/top.cc
  M src/v8.h


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

Reply via email to