Remove grab-bag includes of v8.h from everywhere.
authormstarzinger <mstarzinger@chromium.org>
Thu, 20 Aug 2015 07:44:00 +0000 (00:44 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 20 Aug 2015 07:44:15 +0000 (07:44 +0000)
R=bmeurer@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30263}

79 files changed:
src/allocation-tracker.cc
src/base/smart-pointers.h
src/builtins.cc
src/builtins.h
src/cancelable-task.cc
src/code-stubs-hydrogen.cc
src/compilation-cache.cc
src/compilation-cache.h
src/context-measure.cc
src/conversions.cc
src/counters.cc
src/cpu-profiler.cc
src/date.cc
src/deoptimizer.cc
src/dtoa.h
src/elements.cc
src/extensions/free-buffer-extension.cc
src/extensions/statistics-extension.cc
src/extensions/trigger-failure-extension.cc
src/fast-dtoa.h
src/fixed-dtoa.h
src/flags.cc
src/global-handles.cc
src/handles.cc
src/heap-profiler.cc
src/heap-profiler.h
src/heap-snapshot-generator.cc
src/heap-snapshot-generator.h
src/heap/memory-reducer.cc
src/heap/store-buffer-inl.h
src/heap/store-buffer.cc
src/hydrogen-dce.cc
src/hydrogen-instructions.cc
src/hydrogen-sce.cc
src/hydrogen.cc
src/interface-descriptors.cc
src/isolate.cc
src/layout-descriptor.cc
src/lithium-allocator.cc
src/lithium-codegen.cc
src/lithium.cc
src/log-inl.h
src/log.cc
src/lookup.cc
src/messages.cc
src/messages.h
src/objects-debug.cc
src/objects-printer.cc
src/objects.cc
src/optimizing-compile-dispatcher.cc
src/prettyprinter.cc
src/profile-generator.cc
src/runtime-profiler.cc
src/sampler.cc
src/scanner-character-streams.cc
src/scanner-character-streams.h
src/scanner.cc
src/scopeinfo.cc
src/snapshot/mksnapshot.cc
src/snapshot/serialize.cc
src/snapshot/snapshot-common.cc
src/snapshot/snapshot-empty.cc
src/snapshot/snapshot-external.cc
src/snapshot/snapshot.h
src/string-search.h
src/strings-storage.cc
src/transitions.cc
src/type-feedback-vector.cc
src/type-info.cc
src/type-info.h
src/v8threads.cc
src/v8threads.h
src/version.cc
src/version.h
test/cctest/cctest.h
test/cctest/gay-fixed.h
test/cctest/gay-precision.h
test/cctest/gay-shortest.h
test/cctest/trace-extension.h

index 128d25c8d26dcde81c9e6e4ecb66a26feb74ca35..0822c1f4da63ffdcf15b8cfaec36a5bc471de534 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/allocation-tracker.h"
+
 #include "src/frames-inl.h"
 #include "src/heap-snapshot-generator-inl.h"
+#include "src/objects-inl.h"
 
 namespace v8 {
 namespace internal {
index 6528fca92d4c5fe92dccbb3ba890a9cfd09660b4..df3fcac6626527b15041f95c266ac311a311d807 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_BASE_SMART_POINTERS_H_
 #define V8_BASE_SMART_POINTERS_H_
 
+#include "src/base/logging.h"
+
 namespace v8 {
 namespace base {
 
index aa7268f6b6ccfb2e155ea7d2b04ffa4f9f8470bd..4bc61b8f6b1d4374ff5d8f85b43baf5c86f13429 100644 (file)
@@ -2,14 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/builtins.h"
 
 #include "src/api.h"
 #include "src/api-natives.h"
 #include "src/arguments.h"
 #include "src/base/once.h"
 #include "src/bootstrapper.h"
-#include "src/builtins.h"
 #include "src/cpu-profiler.h"
 #include "src/elements.h"
 #include "src/frames-inl.h"
index cf90aacf894182ca8dd7b1482a36479fa0da6081..8f1aaa5bb5a5ddabe17f20a3b71307893b493b48 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_BUILTINS_H_
 #define V8_BUILTINS_H_
 
+#include "src/handles.h"
+
 namespace v8 {
 namespace internal {
 
index 32d5057c49ead4149d9487e91a12cf8cdd304cd0..969b342100006af601bee276b4f28e7398d85c54 100644 (file)
@@ -5,7 +5,8 @@
 #include "src/cancelable-task.h"
 
 #include "src/base/platform/platform.h"
-#include "src/v8.h"
+#include "src/isolate.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 
 namespace v8 {
 namespace internal {
index 81304e5002a1fe649e24f294b4d31916ccadddc9..69a49232ca898515e5264bde8c47eaf917e3aeb0 100644 (file)
@@ -2,10 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/code-stubs.h"
 
 #include "src/bailout-reason.h"
-#include "src/code-stubs.h"
 #include "src/field-index.h"
 #include "src/hydrogen.h"
 #include "src/ic/ic.h"
index 46d783866f0804d8248ed39352d4a61ced5ea055..d8b17a02960159510392bba1e92a9fe528bafdcb 100644 (file)
@@ -2,10 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/compilation-cache.h"
 
 #include "src/assembler.h"
-#include "src/compilation-cache.h"
+#include "src/counters.h"
+#include "src/factory.h"
+#include "src/objects-inl.h"
 
 namespace v8 {
 namespace internal {
index 136bb97ea84fe050b0d585d71d2b4f424b098e7f..2d7609ec1876ff2271c3bc5e2b02fbd93c26be42 100644 (file)
@@ -5,6 +5,10 @@
 #ifndef V8_COMPILATION_CACHE_H_
 #define V8_COMPILATION_CACHE_H_
 
+#include "src/allocation.h"
+#include "src/handles.h"
+#include "src/objects.h"
+
 namespace v8 {
 namespace internal {
 
index 42a08be0af009f1c2192a9cd4af006caf1776fb9..da4aae498b668eed85afb4dd4b38948ca34e1b02 100644 (file)
@@ -2,10 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/context-measure.h"
 
+#include "src/base/logging.h"
+#include "src/contexts.h"
+#include "src/objects-inl.h"
+
 namespace v8 {
 namespace internal {
 
index 5877473854b70aaeea6a08af4f115e98e9c81771..2ce1d70fe69c164f82148e01e9278041b18e5631 100644 (file)
@@ -2,16 +2,15 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include "src/conversions.h"
+
 #include <limits.h>
 #include <stdarg.h>
 #include <cmath>
 
-#include "src/v8.h"
-
 #include "src/assert-scope.h"
 #include "src/char-predicates-inl.h"
 #include "src/conversions-inl.h"
-#include "src/conversions.h"
 #include "src/dtoa.h"
 #include "src/factory.h"
 #include "src/list-inl.h"
index 2788ff7f9fe4aab91331a98b390eebb694ad2821..e8dea2e0736d58ef5db3b608e1dc1cdca09c70e6 100644 (file)
@@ -2,10 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/counters.h"
 
 #include "src/base/platform/platform.h"
-#include "src/counters.h"
 #include "src/isolate.h"
 #include "src/log-inl.h"
 
index 638f9151384009644cd3ec0689464a3107f3fb0d..ecef2e346cf2084afab0d7eb2cdbdc2a28e768c8 100644 (file)
@@ -2,11 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
-#include "src/cpu-profiler-inl.h"
+#include "src/cpu-profiler.h"
 
 #include "src/compiler.h"
+#include "src/cpu-profiler-inl.h"
 #include "src/deoptimizer.h"
 #include "src/frames-inl.h"
 #include "src/hashmap.h"
index 68c7507d0871433c2a89fc348b321b9de6f78309..3106b1622b3c1735bd8c53196e424588e860f8d1 100644 (file)
@@ -4,8 +4,6 @@
 
 #include "src/date.h"
 
-#include "src/v8.h"
-
 #include "src/objects.h"
 #include "src/objects-inl.h"
 
index 0efc4de369e0f78afcb44c2c0959756b013cf4ef..077f109b5b41c183e10b9033ebfb7af6cd524863 100644 (file)
@@ -2,18 +2,18 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/deoptimizer.h"
 
 #include "src/accessors.h"
 #include "src/codegen.h"
 #include "src/cpu-profiler.h"
-#include "src/deoptimizer.h"
 #include "src/disasm.h"
 #include "src/frames-inl.h"
 #include "src/full-codegen/full-codegen.h"
 #include "src/global-handles.h"
 #include "src/macro-assembler.h"
 #include "src/prettyprinter.h"
+#include "src/v8.h"
 
 
 namespace v8 {
index dd88688d08250cdaccec02ccc37878d0d13b211c..ca6277ee56f099a737d8eba03ce0b3d498b42426 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_DTOA_H_
 #define V8_DTOA_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 3e80d5570b90e46e9de434d8c9f79abaa104721a..e0fb6fba0931cd580ed4feb00b6baa30031f1bea 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/elements.h"
 
 #include "src/arguments.h"
 #include "src/conversions.h"
-#include "src/elements.h"
+#include "src/factory.h"
 #include "src/messages.h"
-#include "src/objects.h"
+#include "src/objects-inl.h"
 #include "src/utils.h"
 
 // Each concrete ElementsAccessor can handle exactly one ElementsKind,
index b642b3df3017234e1019bdeddf2642722349e7b5..946d4d77d5ab6a78be045e442b6dfcda1d5a1eec 100644 (file)
@@ -5,7 +5,8 @@
 #include "src/extensions/free-buffer-extension.h"
 
 #include "src/base/platform/platform.h"
-#include "src/v8.h"
+#include "src/isolate.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 
 namespace v8 {
 namespace internal {
index 495167695a512d838534ce72aade0399eaf3f05f..5612259fc588e265974ae97f91c739ef07036d13 100644 (file)
@@ -4,7 +4,10 @@
 
 #include "src/extensions/statistics-extension.h"
 
-#include "src/v8.h"
+#include "src/counters.h"
+#include "src/heap/heap-inl.h"
+#include "src/isolate.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 
 namespace v8 {
 namespace internal {
index 672c1a7064907697f7a8d71412d0b34eb4e02f9a..9aa8c2dcfe4a5a94ab0082a8b27e1ea3ced8a9bc 100644 (file)
@@ -3,7 +3,9 @@
 // found in the LICENSE file.
 
 #include "src/extensions/trigger-failure-extension.h"
-#include "src/v8.h"
+
+#include "src/base/logging.h"
+#include "src/checks.h"
 
 namespace v8 {
 namespace internal {
index d96c296f157a34e1bf654fe40f89f087526f3c15..38e8a82499567c9f20d49fa94e7818ee8b038d6d 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_FAST_DTOA_H_
 #define V8_FAST_DTOA_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index b6495c11ef11958545131d90fbba566f6b193961..0a6cb50818dc8f6afa390935dbfd0d4c003953d6 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_FIXED_DTOA_H_
 #define V8_FIXED_DTOA_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 6f28ebb0379d5dcdd37481aac64b11a2ec1cb395..1899d7ebecd636f176fddf8e71505e08162609ab 100644 (file)
@@ -2,16 +2,19 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include "src/flags.h"
+
 #include <cctype>
 #include <cstdlib>
 #include <sstream>
 
-#include "src/v8.h"
-
+#include "src/allocation.h"
 #include "src/assembler.h"
 #include "src/base/functional.h"
 #include "src/base/platform/platform.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 #include "src/ostreams.h"
+#include "src/utils.h"
 
 namespace v8 {
 namespace internal {
index befa173767064e871062dcf36e7428fa590404ab..650999f394c5cc7c2e5397afff53c74e3c186d20 100644 (file)
@@ -2,11 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
-#include "src/api.h"
 #include "src/global-handles.h"
 
+#include "src/api.h"
+#include "src/v8.h"
 #include "src/vm-state-inl.h"
 
 namespace v8 {
index ca23a6f75f711d5fd00f142b0f53860b5fee0428..ae6fac89d3fc9c5da7cf46111c573a03bf3adbc6 100644 (file)
@@ -2,10 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/handles.h"
 
+#include "src/base/logging.h"
+#include "src/objects-inl.h"
+
 namespace v8 {
 namespace internal {
 
index 68d94ccbd953183801e5cb8c58e265f35e9a785e..6dc18f31841f9f3e9fcc81bfcb14e4b40b1def3a 100644 (file)
@@ -2,11 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/heap-profiler.h"
 
 #include "src/allocation-tracker.h"
+#include "src/api.h"
 #include "src/heap-snapshot-generator-inl.h"
 
 namespace v8 {
index 16dd08a26592fb0821a10a7af31d21e3f2694da6..80516be0f4871439497e0f88724f02326b74f07b 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "src/base/smart-pointers.h"
 #include "src/isolate.h"
+#include "src/list.h"
 
 namespace v8 {
 namespace internal {
index f9c235ed94a36ee6a758d639722519e6c9f92d40..dab9785ecb144e3ef96307a3828d318bd8077de7 100644 (file)
@@ -2,15 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
-#include "src/heap-snapshot-generator-inl.h"
+#include "src/heap-snapshot-generator.h"
 
 #include "src/allocation-tracker.h"
 #include "src/code-stubs.h"
 #include "src/conversions.h"
 #include "src/debug/debug.h"
 #include "src/heap-profiler.h"
+#include "src/heap-snapshot-generator-inl.h"
 #include "src/types.h"
 
 namespace v8 {
index 5693cc16c3c8c9091c465066c4c05d026494bac6..9a984eef9451bc96383f26a68e25ae944b53e76e 100644 (file)
@@ -5,7 +5,9 @@
 #ifndef V8_HEAP_SNAPSHOT_GENERATOR_H_
 #define V8_HEAP_SNAPSHOT_GENERATOR_H_
 
+#include "include/v8-profiler.h"
 #include "src/base/platform/time.h"
+#include "src/objects.h"
 #include "src/strings-storage.h"
 
 namespace v8 {
@@ -14,6 +16,8 @@ namespace internal {
 class AllocationTracker;
 class AllocationTraceNode;
 class HeapEntry;
+class HeapIterator;
+class HeapProfiler;
 class HeapSnapshot;
 class SnapshotFiller;
 
index c297c4dde248a7fb498d6c39a74368b2444bbfa9..3f2862df3b0c0f78029e73489fa848c33755f8b8 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "src/flags.h"
 #include "src/heap/heap.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 #include "src/utils.h"
 #include "src/v8.h"
 
index f168fe0a59a0dc03eedaf05357f870340e82a9b9..90f54766d2ba1bae3434f3ce6dbfc866548356b7 100644 (file)
@@ -6,6 +6,7 @@
 #define V8_STORE_BUFFER_INL_H_
 
 #include "src/heap/heap.h"
+#include "src/heap/spaces-inl.h"
 #include "src/heap/store-buffer.h"
 
 namespace v8 {
index 95fb83c3c8c9197fac10299759fcd97571154a13..090d996c842993c269582a2d080fc4540a3d2045 100644 (file)
@@ -8,6 +8,8 @@
 
 #include "src/counters.h"
 #include "src/heap/store-buffer-inl.h"
+#include "src/isolate.h"
+#include "src/objects-inl.h"
 #include "src/v8.h"
 
 namespace v8 {
index 1d5bb7841a749535f731eef3e65fa25405ab54f6..50a300bd940208e40af2a02dc3e1a2a7b4864ace 100644 (file)
@@ -3,7 +3,6 @@
 // found in the LICENSE file.
 
 #include "src/hydrogen-dce.h"
-#include "src/v8.h"
 
 namespace v8 {
 namespace internal {
index 770d710a3acec403cd0227f39cb21fcd5c8db737..0e45e35077758f064175bff44c85b89df417b565 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/hydrogen-instructions.h"
 
 #include "src/base/bits.h"
 #include "src/double.h"
index 6944f7090e6ef343ffd008704d07980e60612cd2..235a94142de6eabe6be5c0684e5d1126ce520066 100644 (file)
@@ -3,7 +3,6 @@
 // found in the LICENSE file.
 
 #include "src/hydrogen-sce.h"
-#include "src/v8.h"
 
 namespace v8 {
 namespace internal {
index 8984a6e9f31e57933d484c4ab52c1c28eb8ddeeb..8c59ce86c9fe11f4c8ed1cfb76a8ed69cfcd3f2f 100644 (file)
@@ -6,8 +6,6 @@
 
 #include <sstream>
 
-#include "src/v8.h"
-
 #include "src/allocation-site-scopes.h"
 #include "src/ast-numbering.h"
 #include "src/full-codegen/full-codegen.h"
index da9eb2991fc8cd7ace2ad255d516500a7a18eb4e..80f1431ec0a23c6352d05dfcb6fde9b718110ae4 100644 (file)
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/interface-descriptors.h"
 
 namespace v8 {
index 155e9ead0870a7cb6a715eec114e3aaa4f557be7..b6c5da02ac189895527271eef9f1ba6fe405435e 100644 (file)
@@ -2,13 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include "src/isolate.h"
+
 #include <stdlib.h>
 
 #include <fstream>  // NOLINT(readability/streams)
 #include <sstream>
 
-#include "src/v8.h"
-
 #include "src/ast.h"
 #include "src/base/platform/platform.h"
 #include "src/base/sys-info.h"
@@ -36,6 +36,7 @@
 #include "src/scopeinfo.h"
 #include "src/simulator.h"
 #include "src/snapshot/serialize.h"
+#include "src/v8.h"
 #include "src/version.h"
 #include "src/vm-state-inl.h"
 
index b961a7de96dd7b88a02be10b25b9230141bfff9f..11a72e732dbb023fb2802d3c9d841bf7b57da8aa 100644 (file)
@@ -2,12 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include <sstream>
+#include "src/layout-descriptor.h"
 
-#include "src/v8.h"
+#include <sstream>
 
 #include "src/base/bits.h"
-#include "src/layout-descriptor.h"
+#include "src/handles-inl.h"
 
 using v8::base::bits::CountTrailingZeros32;
 
index afa28bbb403a118f27b3656908b18b5919eebaac..21103922fbf975b5b4f2d2dc0dfd43f5ebfd92ac 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/lithium-allocator.h"
 
 #include "src/hydrogen.h"
 #include "src/lithium-inl.h"
index 24c1301dc514b59dcfa5f4c7daa8bf38ff31122c..267df58ccd0ac3c68afde24228d18bc7aff237b3 100644 (file)
@@ -6,8 +6,6 @@
 
 #include <sstream>
 
-#include "src/v8.h"
-
 #if V8_TARGET_ARCH_IA32
 #include "src/ia32/lithium-ia32.h"  // NOLINT
 #include "src/ia32/lithium-codegen-ia32.h"  // NOLINT
index a9d7748ef3883c3677ce6aa3ec5f3b0832a0c72a..728ed67fb5b22c145a00eedda98f05c2032b8150 100644 (file)
@@ -4,8 +4,6 @@
 
 #include "src/lithium.h"
 
-#include "src/v8.h"
-
 #include "src/scopes.h"
 
 #if V8_TARGET_ARCH_IA32
index a96631d059d1a5dd0dffb7d3ebd9ec9d2cd64584..82f5e7d7dce6b162379e7d2720fea7f85730b588 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "src/log.h"
 #include "src/isolate.h"
+#include "src/objects-inl.h"
 
 namespace v8 {
 namespace internal {
index 044250f1197070b7803105fe6270fa7fd77ff9dd..0bc93fb38ad743c843f3d2c226b018588774ecaa 100644 (file)
@@ -7,8 +7,6 @@
 #include <cstdarg>
 #include <sstream>
 
-#include "src/v8.h"
-
 #include "src/bailout-reason.h"
 #include "src/base/platform/platform.h"
 #include "src/bootstrapper.h"
index 4d32143242ad98e5f5b970cbae98246dc78647cc..71be9a876702ba28bf8d39874dfed9392f50016b 100644 (file)
@@ -2,11 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/lookup.h"
 
 #include "src/bootstrapper.h"
 #include "src/deoptimizer.h"
-#include "src/lookup.h"
 #include "src/lookup-inl.h"
 
 namespace v8 {
index 4e0c45f0f1992ca70ed191bfe63c6a4fac4bed7c..6683443e52277c40f666732fdff58565d67d4205 100644 (file)
@@ -2,11 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/messages.h"
 
 #include "src/api.h"
 #include "src/execution.h"
-#include "src/messages.h"
 #include "src/string-builder.h"
 
 namespace v8 {
index d92e5f7a794e2ddbc0802e36ac64bc9815147850..5d56ceb1c8c499c0a5139ed53028e2e80bb8dfd3 100644 (file)
@@ -11,6 +11,7 @@
 #define V8_MESSAGES_H_
 
 #include "src/base/smart-pointers.h"
+#include "src/handles.h"
 #include "src/list.h"
 
 namespace v8 {
index 815a5b53f8a07b15b964b929dd5e204b2f9229d1..6d87bd7aed8bdcf4af5e0678bd4ba696114625fe 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/objects.h"
 
 #include "src/bootstrapper.h"
 #include "src/disasm.h"
index 799561eb8b38b1d26756302fc2b95f560685cced..b3a0e47116a2050ebef6dabb762d2e850eb6bc17 100644 (file)
@@ -2,11 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/objects.h"
 
 #include "src/disasm.h"
 #include "src/disassembler.h"
 #include "src/interpreter/bytecodes.h"
+#include "src/objects-inl.h"
 #include "src/ostreams.h"
 #include "src/regexp/jsregexp.h"
 
index ed394ad0ca8c79c75cd6f964c151e111afaef537..4a18728d35e601fda0d54f3f82c03c8b0e76fb6b 100644 (file)
@@ -2,11 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
+#include "src/objects.h"
+
 #include <iomanip>
 #include <sstream>
 
-#include "src/v8.h"
-
 #include "src/accessors.h"
 #include "src/allocation-site-scopes.h"
 #include "src/api.h"
index 1f98e7bc9539db27b4694c873c74a4ed571c5863..8e3e96ad00007c02d97ccea37a1c69a1f6bfb351 100644 (file)
@@ -4,12 +4,11 @@
 
 #include "src/optimizing-compile-dispatcher.h"
 
-#include "src/v8.h"
-
 #include "src/base/atomicops.h"
 #include "src/full-codegen/full-codegen.h"
 #include "src/hydrogen.h"
 #include "src/isolate.h"
+#include "src/v8.h"
 
 namespace v8 {
 namespace internal {
index 9bc4e6a562866d6293cbaf4e76595c2bf9c0970d..e71489fa7f2c401111468f7de94d55bf24075a4a 100644 (file)
@@ -2,13 +2,12 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include <stdarg.h>
+#include "src/prettyprinter.h"
 
-#include "src/v8.h"
+#include <stdarg.h>
 
 #include "src/ast-value-factory.h"
 #include "src/base/platform/platform.h"
-#include "src/prettyprinter.h"
 #include "src/scopes.h"
 
 namespace v8 {
index d2e94b4758952337d36d11eb0fa1ff1ce473240e..09468cad75d4860059ef1edc8dd0e96b948c7873 100644 (file)
@@ -2,14 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
-#include "src/profile-generator-inl.h"
+#include "src/profile-generator.h"
 
 #include "src/compiler.h"
 #include "src/debug/debug.h"
 #include "src/deoptimizer.h"
 #include "src/global-handles.h"
+#include "src/profile-generator-inl.h"
 #include "src/sampler.h"
 #include "src/scopeinfo.h"
 #include "src/splay-tree-inl.h"
index 4a45baf5229172c91d5cca47342a2359c98f8c14..6b942d44a6cbca5a2ec53830547bc4d49b022af5 100644 (file)
@@ -2,8 +2,6 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/runtime-profiler.h"
 
 #include "src/assembler.h"
index 79b5bff855396b2f733158b028527132ab9f1d75..4e669ca6dc13611fdda5bacc728d2f1227592646 100644 (file)
@@ -42,8 +42,6 @@
 
 #endif
 
-#include "src/v8.h"
-
 #include "src/base/platform/platform.h"
 #include "src/cpu-profiler-inl.h"
 #include "src/flags.h"
index 442bc75d6cc9697c883799420946058bb9c4ade5..7db807d7a2540d38f16b9d8506109b9186e1f52a 100644 (file)
@@ -2,12 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/scanner-character-streams.h"
 
 #include "include/v8.h"
+#include "src/globals.h"
 #include "src/handles.h"
+#include "src/list-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
+#include "src/objects.h"
 #include "src/unicode-inl.h"
 
 namespace v8 {
index 582165710db84c1171f74a163e3dcfdeaa8170ac..352e17612eaf55fd279a83774b60bd55975ee7ec 100644 (file)
@@ -5,11 +5,16 @@
 #ifndef V8_SCANNER_CHARACTER_STREAMS_H_
 #define V8_SCANNER_CHARACTER_STREAMS_H_
 
+#include "src/handles.h"
 #include "src/scanner.h"
+#include "src/vector.h"
 
 namespace v8 {
 namespace internal {
 
+// Forward declarations.
+class ExternalTwoByteString;
+
 // A buffered character stream based on a random access character
 // source (ReadBlock can be called with pos_ pointing to any position,
 // even positions before the current).
index c6c0a8d6a23448b7be244224ec48bc5b37b16cee..cebb5870f22dee984dee96e80ee61933574af587 100644 (file)
@@ -4,18 +4,17 @@
 
 // Features shared by parsing and pre-parsing scanners.
 
+#include "src/scanner.h"
+
 #include <stdint.h>
 
 #include <cmath>
 
-#include "src/v8.h"
-
 #include "src/ast-value-factory.h"
 #include "src/char-predicates-inl.h"
 #include "src/conversions-inl.h"
 #include "src/list-inl.h"
 #include "src/parser.h"
-#include "src/scanner.h"
 
 namespace v8 {
 namespace internal {
index e53f36d27439aef1874b1be7df1637225dffa33f..da146c3d17da638d6d783f8d500f985b29f35c08 100644 (file)
@@ -2,12 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include <stdlib.h>
+#include "src/scopeinfo.h"
 
-#include "src/v8.h"
+#include <stdlib.h>
 
 #include "src/bootstrapper.h"
-#include "src/scopeinfo.h"
 #include "src/scopes.h"
 
 namespace v8 {
index f44eca523a8d3e0660ca332ce1aa3dc73599b626..99d93aade8cc926d56f0529375bbca5528fedb2d 100644 (file)
@@ -6,14 +6,13 @@
 #include <signal.h>
 #include <stdio.h>
 
-#include "src/v8.h"
-
 #include "include/libplatform/libplatform.h"
 #include "src/assembler.h"
 #include "src/base/platform/platform.h"
 #include "src/bootstrapper.h"
 #include "src/flags.h"
 #include "src/list.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 #include "src/snapshot/natives.h"
 #include "src/snapshot/serialize.h"
 
index 3f261203e69fec5a74b702af71a3413fb471b2b3..a3a22336d108d65f37cb3cb23e68e6da9eb5c029 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/snapshot/serialize.h"
 
 #include "src/accessors.h"
 #include "src/api.h"
@@ -19,9 +19,9 @@
 #include "src/parser.h"
 #include "src/runtime/runtime.h"
 #include "src/snapshot/natives.h"
-#include "src/snapshot/serialize.h"
 #include "src/snapshot/snapshot.h"
 #include "src/snapshot/snapshot-source-sink.h"
+#include "src/v8.h"
 #include "src/v8threads.h"
 #include "src/version.h"
 
index 743178b51be24d50a99f17a3d6b0014439b6dd44..5a849f63b49f6407c9ac4b63a4de4f09a2be3e21 100644 (file)
@@ -4,12 +4,11 @@
 
 // The common functionality when building with or without snapshots.
 
-#include "src/v8.h"
+#include "src/snapshot/snapshot.h"
 
 #include "src/api.h"
 #include "src/base/platform/platform.h"
 #include "src/full-codegen/full-codegen.h"
-#include "src/snapshot/snapshot.h"
 
 namespace v8 {
 namespace internal {
index 464d3a800a3bec8051ff1e1f9bd9c2c86877d70a..af2c9af8a4d493d83267fe1c781c6df2dd013ccf 100644 (file)
@@ -4,10 +4,10 @@
 
 // Used for building without snapshots.
 
-#include "src/v8.h"
-
 #include "src/snapshot/snapshot.h"
 
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
+
 namespace v8 {
 namespace internal {
 
index 1d5476cb5ec285b39384104d6957eea640e9a36e..256f72aae65e6c769391dc8100426f0de9f71475 100644 (file)
@@ -7,6 +7,7 @@
 #include "src/snapshot/snapshot.h"
 
 #include "src/base/platform/mutex.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
 #include "src/snapshot/serialize.h"
 #include "src/snapshot/snapshot-source-sink.h"
 #include "src/v8.h"  // for V8::Initialize
index 7f89213f16c41c56d881cac7d7ba14ee15a59b2c..dabc694d50a7c01ecc13774f2b9a32c7751f5260 100644 (file)
@@ -2,15 +2,20 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/isolate.h"
-#include "src/snapshot/serialize.h"
-
 #ifndef V8_SNAPSHOT_SNAPSHOT_H_
 #define V8_SNAPSHOT_SNAPSHOT_H_
 
+#include "src/isolate.h"
+#include "src/snapshot/serialize.h"
+
 namespace v8 {
 namespace internal {
 
+// Forward declarations.
+class Isolate;
+class PartialSerializer;
+class StartupSerializer;
+
 class Snapshot : public AllStatic {
  public:
   class Metadata {
index bf5ffe6b2d1302653d584383a9cb30acc55d0284..349d4fd2db72918560fd0e784bf9ea4664c803c2 100644 (file)
@@ -5,6 +5,9 @@
 #ifndef V8_STRING_SEARCH_H_
 #define V8_STRING_SEARCH_H_
 
+#include "src/isolate.h"
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 8ddf291fcc3112aef8bcf59f4f09b0f0b4a60d15..52cc00f852f58673d91ffedf40870e2c0a44c475 100644 (file)
@@ -2,10 +2,10 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
-
 #include "src/strings-storage.h"
 
+#include "src/base/smart-pointers.h"
+#include "src/objects-inl.h"
 
 namespace v8 {
 namespace internal {
index 9870e17d83925040e952876c4263cc662f09be78..64b8133528eafebb0f4bd7e4b98acdef614b5b5b 100644 (file)
@@ -2,9 +2,9 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/transitions.h"
 
-#include "src/objects.h"
+#include "src/objects-inl.h"
 #include "src/transitions-inl.h"
 #include "src/utils.h"
 
index 999eaab231d3d3d2db802c34fac906c87b941d2e..6aa4712682733538345657ecf2bc190201a99336 100644 (file)
@@ -2,7 +2,7 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/type-feedback-vector.h"
 
 #include "src/code-stubs.h"
 #include "src/ic/ic.h"
index 1dbe21c9fa34d0da9a33559fe7057b23fc995afa..bffeccfbc19810e3742e185fe6e9b489edaf2f3a 100644 (file)
@@ -2,14 +2,14 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/type-info.h"
 
 #include "src/ast.h"
 #include "src/code-stubs.h"
 #include "src/compiler.h"
 #include "src/ic/ic.h"
 #include "src/ic/stub-cache.h"
-#include "src/type-info.h"
+#include "src/objects-inl.h"
 
 namespace v8 {
 namespace internal {
index 965fca30109aeb3b8db8c892f88d0608f9c7a830..7143458a350023381b81247e186573fa170abda3 100644 (file)
@@ -6,7 +6,9 @@
 #define V8_TYPE_INFO_H_
 
 #include "src/allocation.h"
+#include "src/contexts.h"
 #include "src/globals.h"
+#include "src/token.h"
 #include "src/types.h"
 #include "src/zone.h"
 
index 45c1c8a25c23594dd39c2161d683e46720c19f32..b533a906b8142aa0c4618033bd276a91f467d853 100644 (file)
@@ -2,14 +2,13 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "src/v8.h"
+#include "src/v8threads.h"
 
 #include "src/api.h"
 #include "src/bootstrapper.h"
 #include "src/debug/debug.h"
 #include "src/execution.h"
 #include "src/regexp/regexp-stack.h"
-#include "src/v8threads.h"
 
 namespace v8 {
 
index c3ba5173750e5814acfd42adb337093134b386d7..3e189d5cb492047b879dc85ab665faa62c1ed64b 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef V8_V8THREADS_H_
 #define V8_V8THREADS_H_
 
+#include "src/isolate.h"
+
 namespace v8 {
 namespace internal {
 
index eae80c85cc34cf7c0d51519c2b46eb91d3666ba0..7305bf2576ef49a0da53d97630899d2732f6e237 100644 (file)
@@ -2,10 +2,11 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-#include "include/v8-version.h"
-#include "src/v8.h"
 #include "src/version.h"
 
+#include "include/v8-version.h"
+#include "src/utils.h"
+
 // Define SONAME to have the build system put a specific SONAME into the
 // shared library instead the generic SONAME generated from the V8 version
 // number. This define is mainly used by the build system script.
index dbcec1b27d427b565affd25e773ff6bf57eb3047..2596beeb8a448b9f943ea6ca378a5e0b4f2e9a07 100644 (file)
@@ -6,6 +6,7 @@
 #define V8_VERSION_H_
 
 #include "src/base/functional.h"
+#include "src/vector.h"
 
 namespace v8 {
 namespace internal {
index 5c19195208eaaa88b3647c0559dab2691ce9f2f3..0136db60fabfc7764df0c2411447c4f5d64cb7a6 100644 (file)
@@ -29,6 +29,7 @@
 #define CCTEST_H_
 
 #include "include/libplatform/libplatform.h"
+#include "src/objects-inl.h"  // TODO(everyone): Make cctest IWYU.
 #include "src/v8.h"
 
 #ifndef TEST
index f5c31edf6a920045e255b15231fd87b9dae93133..c14c11f05017339456ca080a26dcc6f8235ae327 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef GAY_FIXED_H_
 #define GAY_FIXED_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 10dd58b3cd7b25bc6fb73389a0beabd8e6824072..08aaa1d3da221f5261a69deba75dd6ae5a6bda57 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef GAY_PRECISION_H_
 #define GAY_PRECISION_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 9b512148e6e0885988190476ef97353e4a7bf769..4efe76ba0b21cf66cd435e53da1e7157312d0624 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef GAY_SHORTEST_H_
 #define GAY_SHORTEST_H_
 
+#include "src/vector.h"
+
 namespace v8 {
 namespace internal {
 
index 919eda5bb50d046e5662193a64213a365e1922a2..186cc6e7419246e0ecacf39d89b75dc199636c07 100644 (file)
@@ -33,6 +33,8 @@
 namespace v8 {
 namespace internal {
 
+struct TickSample;
+
 class TraceExtension : public v8::Extension {
  public:
   TraceExtension() : v8::Extension("v8/trace", kSource) { }