Commit 1c567f82 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Remove grab-bag includes of v8.h from heap.

R=mlippautz@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30195}
parent 33922309
......@@ -2,8 +2,9 @@
// 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 "src/heap/gc-idle-time-handler.h"
#include "src/flags.h"
#include "src/heap/gc-tracer.h"
#include "src/utils.h"
......
......@@ -2,10 +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/heap/gc-tracer.h"
#include "src/counters.h"
#include "src/heap/heap.h"
#include "src/isolate.h"
#include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker!
namespace v8 {
namespace internal {
......
......@@ -6,6 +6,7 @@
#define V8_HEAP_GC_TRACER_H_
#include "src/base/platform/platform.h"
#include "src/globals.h"
namespace v8 {
namespace internal {
......
......@@ -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/heap/heap.h"
#include "src/accessors.h"
#include "src/api.h"
......@@ -33,6 +33,7 @@
#include "src/snapshot/serialize.h"
#include "src/snapshot/snapshot.h"
#include "src/utils.h"
#include "src/v8.h"
#include "src/v8threads.h"
#include "src/vm-state-inl.h"
......
......@@ -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/heap/identity-map.h"
#include "src/heap/heap.h"
#include "src/heap/identity-map.h"
#include "src/objects-inl.h" // TODO(mstarzinger): Temporary cycle breaker!
#include "src/zone-containers.h"
namespace v8 {
namespace internal {
......
......@@ -10,7 +10,9 @@
namespace v8 {
namespace internal {
// Forward declarations.
class Heap;
class Zone;
// Base class of identity maps contains shared code for all template
// instantions.
......
......@@ -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/heap/incremental-marking.h"
#include "src/code-stubs.h"
......
......@@ -5,7 +5,6 @@
#ifndef V8_HEAP_INCREMENTAL_MARKING_H_
#define V8_HEAP_INCREMENTAL_MARKING_H_
#include "src/execution.h"
#include "src/heap/mark-compact.h"
#include "src/objects.h"
......
......@@ -8,7 +8,6 @@
#include "src/heap/mark-compact.h"
#include "src/isolate.h"
namespace v8 {
namespace internal {
......
......@@ -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/heap/mark-compact.h"
#include "src/base/atomicops.h"
#include "src/base/bits.h"
......@@ -15,7 +15,6 @@
#include "src/gdb-jit.h"
#include "src/global-handles.h"
#include "src/heap/incremental-marking.h"
#include "src/heap/mark-compact.h"
#include "src/heap/mark-compact-inl.h"
#include "src/heap/objects-visiting.h"
#include "src/heap/objects-visiting-inl.h"
......@@ -23,6 +22,7 @@
#include "src/heap-profiler.h"
#include "src/ic/ic.h"
#include "src/ic/stub-cache.h"
#include "src/v8.h"
namespace v8 {
namespace internal {
......
......@@ -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/heap/objects-visiting.h"
#include "src/heap/mark-compact-inl.h"
#include "src/heap/objects-visiting.h"
#include "src/heap/objects-visiting-inl.h"
namespace v8 {
......
......@@ -6,6 +6,7 @@
#define V8_OBJECTS_VISITING_H_
#include "src/allocation.h"
#include "src/heap/spaces.h"
#include "src/layout-descriptor.h"
// This file provides base classes and auxiliary methods for defining
......
......@@ -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/heap/spaces.h"
#include "src/base/bits.h"
#include "src/base/platform/platform.h"
......
......@@ -5,6 +5,7 @@
#ifndef V8_STORE_BUFFER_INL_H_
#define V8_STORE_BUFFER_INL_H_
#include "src/heap/heap.h"
#include "src/heap/store-buffer.h"
namespace v8 {
......
......@@ -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 <algorithm>
#include "src/heap/store-buffer.h"
#include "src/v8.h"
#include <algorithm>
#include "src/counters.h"
#include "src/heap/store-buffer-inl.h"
#include "src/v8.h"
namespace v8 {
namespace internal {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment