Remove #include "cpu-profiler-inl.h" from v8.h
authoryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 3 Jul 2013 15:39:18 +0000 (15:39 +0000)
committeryurys@chromium.org <yurys@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 3 Jul 2013 15:39:18 +0000 (15:39 +0000)
This significantly reduces amount of files to be recompiled after changes in cpu-profiler.h and its dependencies.

BUG=None
R=loislo@chromium.org, yangguo@chromium.org

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15482 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

31 files changed:
src/api.cc
src/arm/macro-assembler-arm.cc
src/arm/regexp-macro-assembler-arm.cc
src/builtins.cc
src/code-stubs.cc
src/codegen.cc
src/compiler.cc
src/handles.h
src/heap-snapshot-generator.h
src/heap.cc
src/ia32/macro-assembler-ia32.cc
src/ia32/regexp-macro-assembler-ia32.cc
src/isolate.cc
src/log-inl.h
src/log.cc
src/mark-compact.cc
src/mips/macro-assembler-mips.cc
src/objects.h
src/optimizing-compiler-thread.h
src/profile-generator.cc
src/runtime.cc
src/sampler.cc
src/sampler.h
src/spaces.h
src/stub-cache.cc
src/v8.h
src/x64/macro-assembler-x64.cc
src/x64/regexp-macro-assembler-x64.cc
test/cctest/test-api.cc
test/cctest/test-log-stack-tracer.cc
test/cctest/test-profile-generator.cc

index a3fcc0f86d1c0b4a0bc224eb789cea048f1144e6..c89dc2ccaac184b43facbfd50be539d172fd24ae 100644 (file)
@@ -38,6 +38,7 @@
 #include "compiler.h"
 #include "conversions-inl.h"
 #include "counters.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "deoptimizer.h"
 #include "execution.h"
index 9e4dc403e504d43476017884fdd751eb88f7b2a5..cce20ffd6ac51c9600e26e78b464989681474281 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "bootstrapper.h"
 #include "codegen.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "runtime.h"
 
index 0acb7376b7480e01f28e731cdcfefd788abeca49..189ea8d777989e85d708bffb509b010445994c1f 100644 (file)
@@ -29,6 +29,7 @@
 
 #if V8_TARGET_ARCH_ARM
 
+#include "cpu-profiler.h"
 #include "unicode.h"
 #include "log.h"
 #include "code-stubs.h"
index 5cc791515bc128b4ab788a9fa3e9bc39efb9817b..be04ddf53d449d3b13614ed61026e9ee6a599886 100644 (file)
@@ -31,6 +31,7 @@
 #include "arguments.h"
 #include "bootstrapper.h"
 #include "builtins.h"
+#include "cpu-profiler.h"
 #include "gdb-jit.h"
 #include "ic-inl.h"
 #include "heap-profiler.h"
index 20b9e26a955d1ce00c17290dc4b76dc8892825d7..fdc6a15426b623298650af95faf700437b875c16 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "bootstrapper.h"
 #include "code-stubs.h"
+#include "cpu-profiler.h"
 #include "stub-cache.h"
 #include "factory.h"
 #include "gdb-jit.h"
index 7328e4015c390612aee0cbd4fc89665769f911fc..8029d2f8828bef644ae46025a7d74b82f3113281 100644 (file)
@@ -30,6 +30,7 @@
 #include "bootstrapper.h"
 #include "codegen.h"
 #include "compiler.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "prettyprinter.h"
 #include "rewriter.h"
index 76c60176ca3fb577ccbb1089832c5a8530dfd672..8edb41d7240d6378ad8818f5222ac54dfe1f7286 100644 (file)
@@ -32,6 +32,7 @@
 #include "bootstrapper.h"
 #include "codegen.h"
 #include "compilation-cache.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "deoptimizer.h"
 #include "full-codegen.h"
index 52e9752e4442607fd34094b4a42c92c43e95d9c2..5976b758e1f6fc9f28a7c04ef1dd96282cc92a95 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "allocation.h"
 #include "apiutils.h"
+#include "objects.h"
 
 namespace v8 {
 namespace internal {
index d3c8f1b639d8e18c0244836f91a61e87ae117417..84ad089a084f2f1633107795f41ca66fbea423bb 100644 (file)
@@ -28,6 +28,8 @@
 #ifndef V8_HEAP_SNAPSHOT_GENERATOR_H_
 #define V8_HEAP_SNAPSHOT_GENERATOR_H_
 
+#include "profile-generator-inl.h"
+
 namespace v8 {
 namespace internal {
 
index 3fac6018b02a2f4db95a9aa1ba5a5025de275a37..9d1ac8c1ed4be6e07938d0699dd8cc52d50d8236 100644 (file)
@@ -32,6 +32,7 @@
 #include "bootstrapper.h"
 #include "codegen.h"
 #include "compilation-cache.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "deoptimizer.h"
 #include "global-handles.h"
index 63477aa2634e0287c00398bc76e240412bc38293..a9a0268aef476854544a1f596f6e4301d42c04c7 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "bootstrapper.h"
 #include "codegen.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "runtime.h"
 #include "serialize.h"
index 54fe8bf2ea4a31b624bde42668683e7ae1e6d746..f478e574f5c19299b44cfc37736afe8e3ce1ffa8 100644 (file)
@@ -29,6 +29,7 @@
 
 #if V8_TARGET_ARCH_IA32
 
+#include "cpu-profiler.h"
 #include "unicode.h"
 #include "log.h"
 #include "regexp-stack.h"
index 3a6f140506df0ecb430eb8df0ebc56c346870814..6a8758026a1139abe66b729a5a84532e1f37dfd5 100644 (file)
@@ -34,6 +34,7 @@
 #include "bootstrapper.h"
 #include "codegen.h"
 #include "compilation-cache.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "deoptimizer.h"
 #include "heap-profiler.h"
@@ -46,6 +47,7 @@
 #include "platform.h"
 #include "regexp-stack.h"
 #include "runtime-profiler.h"
+#include "sampler.h"
 #include "scopeinfo.h"
 #include "serialize.h"
 #include "simulator.h"
index 8aebbc7dde0beb28f710af8915975494cf3cf98e..7f653cb7283ad90cc692b80bd1533f979728b724 100644 (file)
@@ -29,7 +29,6 @@
 #define V8_LOG_INL_H_
 
 #include "log.h"
-#include "cpu-profiler.h"
 
 namespace v8 {
 namespace internal {
index 3fe8dbc51f116db976b263c09f3c2eee0dcb4d22..e85cd7afc4bc8c2dd8675693fd6aa8551eb79b1c 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "bootstrapper.h"
 #include "code-stubs.h"
+#include "cpu-profiler.h"
 #include "deoptimizer.h"
 #include "global-handles.h"
 #include "log.h"
index b152a27f4f9469162afd8efd82099ce3d53c08b2..638968506d1c7d159c44bef46fd03a34b0aa8808 100644 (file)
@@ -29,6 +29,7 @@
 
 #include "code-stubs.h"
 #include "compilation-cache.h"
+#include "cpu-profiler.h"
 #include "deoptimizer.h"
 #include "execution.h"
 #include "gdb-jit.h"
index 58903477377bb7d767789eb5619c2b6cc55b58dc..47e6ff93c71e6092eafee215c10b298f2d46a6d7 100644 (file)
@@ -33,6 +33,7 @@
 
 #include "bootstrapper.h"
 #include "codegen.h"
+#include "cpu-profiler.h"
 #include "debug.h"
 #include "runtime.h"
 
index 3322a036dac4c6564b941de344780c55ed20a452..7c7f7edbe4f2a7a8c0e9de9872e12b44d81740a0 100644 (file)
@@ -32,6 +32,7 @@
 #include "assert-scope.h"
 #include "builtins.h"
 #include "elements-kind.h"
+#include "flags.h"
 #include "list.h"
 #include "property-details.h"
 #include "smart-pointers.h"
index 699c76dcb8849b5ac89f51d8bc266d2b5d2e39d8..275ceb40b711ccecf4ee4937355fed1eb8f23c61 100644 (file)
@@ -31,7 +31,7 @@
 #include "atomicops.h"
 #include "flags.h"
 #include "platform.h"
-#include "unbound-queue.h"
+#include "unbound-queue-inl.h"
 
 namespace v8 {
 namespace internal {
index 10bd94e7a374cf889312728b7b39c1101ebba9a4..78b05c57e479c8969154770168ce6ad45e2ed8ec 100644 (file)
 #include "profile-generator-inl.h"
 
 #include "compiler.h"
+#include "debug.h"
+#include "sampler.h"
 #include "global-handles.h"
 #include "scopeinfo.h"
 #include "unicode.h"
 #include "zone-inl.h"
-#include "debug.h"
 
 namespace v8 {
 namespace internal {
index 8a4b32195cfd9b82148a883271a4c6c2bc8d36c7..e3ee6d56c3c09937b1909e75644437e8a41df5dd 100644 (file)
@@ -38,6 +38,7 @@
 #include "compilation-cache.h"
 #include "compiler.h"
 #include "cpu.h"
+#include "cpu-profiler.h"
 #include "dateparser-inl.h"
 #include "debug.h"
 #include "deoptimizer.h"
index 63d0aa88cc722468602f1da7ac023071a268c76c..c3268a3d73e9f963faa70d5483ea302f3d055051 100644 (file)
@@ -25,6 +25,8 @@
 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+#include "sampler.h"
+
 #if defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) \
     || defined(__NetBSD__) || defined(__sun) || defined(__ANDROID__) \
     || defined(__native_client__)
@@ -60,6 +62,8 @@
 
 #include "v8.h"
 
+#include "cpu-profiler.h"
+#include "flags.h"
 #include "frames-inl.h"
 #include "log.h"
 #include "platform.h"
index 3875a29e663e1bb8c797553515e820f56eb7ff14..57e82dcd3fa4233450ea398eb78373d39069859b 100644 (file)
@@ -29,6 +29,7 @@
 #define V8_SAMPLER_H_
 
 #include "atomicops.h"
+#include "frames.h"
 #include "v8globals.h"
 
 namespace v8 {
index 5b27542c3c30945229e71e7b1285f00d6f2550b6..dda55919c4e34e7efba7621747dc0dc39e789354 100644 (file)
@@ -32,6 +32,7 @@
 #include "hashmap.h"
 #include "list.h"
 #include "log.h"
+#include "v8utils.h"
 
 namespace v8 {
 namespace internal {
index e0839f13d2b4d33cfe2edbb00994209e2d34e387..62ac2c873bf006d21c63693cfb388552232f917d 100644 (file)
@@ -31,6 +31,7 @@
 #include "arguments.h"
 #include "ast.h"
 #include "code-stubs.h"
+#include "cpu-profiler.h"
 #include "gdb-jit.h"
 #include "ic-inl.h"
 #include "stub-cache.h"
index 52fb98a5617706f3d7510da53c328f5a92669b07..be421f9f88666d8ab51f502f5b29f43321da986a 100644 (file)
--- a/src/v8.h
+++ b/src/v8.h
@@ -64,7 +64,6 @@
 #include "incremental-marking-inl.h"
 #include "mark-compact-inl.h"
 #include "log-inl.h"
-#include "cpu-profiler-inl.h"
 #include "handles-inl.h"
 #include "heap-snapshot-generator-inl.h"
 #include "zone-inl.h"
index a1dbc67bb7ab420e2750a52b93542224452e6879..e5bee67bb4fe96ec2db9d1263941f72da946e4f0 100644 (file)
@@ -31,6 +31,7 @@
 
 #include "bootstrapper.h"
 #include "codegen.h"
+#include "cpu-profiler.h"
 #include "assembler-x64.h"
 #include "macro-assembler-x64.h"
 #include "serialize.h"
index e1d4a2d88d66625f69fe39439da51ae1da3e1fb1..106ffb76da58fbdfab942a8442672199f0115bcd 100644 (file)
@@ -29,6 +29,7 @@
 
 #if V8_TARGET_ARCH_X64
 
+#include "cpu-profiler.h"
 #include "serialize.h"
 #include "unicode.h"
 #include "log.h"
index b0b066695e27b3ff41ab28d6e2fa10110ef54446..97c5fba8a57a3f4e9e73cc8d25d90f153d44dfec 100644 (file)
 
 #include "api.h"
 #include "arguments.h"
-#include "isolate.h"
+#include "cctest.h"
 #include "compilation-cache.h"
+#include "cpu-profiler.h"
 #include "execution.h"
+#include "isolate.h"
 #include "objects.h"
-#include "snapshot.h"
-#include "platform.h"
-#include "utils.h"
-#include "cctest.h"
 #include "parser.h"
+#include "platform.h"
+#include "snapshot.h"
 #include "unicode-inl.h"
+#include "utils.h"
 
 static const bool kLogThreading = false;
 
index 4333498d8b1fe987bd49c50a7f438de2c311790d..567197586f3f7f6b441a48fad3d61b8773fe6aa8 100644 (file)
 #include "v8.h"
 
 #include "api.h"
-#include "codegen.h"
-#include "log.h"
-#include "isolate.h"
 #include "cctest.h"
+#include "codegen.h"
 #include "disassembler.h"
+#include "isolate.h"
+#include "log.h"
+#include "sampler.h"
 #include "vm-state-inl.h"
 
 using v8::Function;
index dfcc75ce13ff1f117f88d85ad94001e71f6aab62..7472669e32b23acc990a9c2e4bd630ffbd5c7b04 100644 (file)
@@ -30,6 +30,7 @@
 #include "v8.h"
 #include "profile-generator-inl.h"
 #include "cctest.h"
+#include "cpu-profiler.h"
 #include "../include/v8-profiler.h"
 
 using i::CodeEntry;