Commit 374a4da8 authored by mstarzinger's avatar mstarzinger Committed by Commit bot

Remove grab-bag includes of v8.h from several files.

R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30172}
parent 16f96fde
......@@ -2,9 +2,8 @@
// 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/accessors.h"
#include "src/api.h"
#include "src/contexts.h"
#include "src/deoptimizer.h"
......
......@@ -7,12 +7,21 @@
#include <map>
#include "include/v8-profiler.h"
#include "src/handles.h"
#include "src/hashmap.h"
#include "src/list.h"
#include "src/vector.h"
namespace v8 {
namespace internal {
class HeapObjectsMap;
// Forward declarations.
class AllocationTraceTree;
class AllocationTracker;
class HeapObjectsMap;
class SharedFunctionInfo;
class StringsStorage;
class AllocationTraceNode {
public:
......
......@@ -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/arguments.h"
#include "src/api.h"
#include "src/vm-state-inl.h"
namespace v8 {
......
// Copyright 2015 the V8 project authors. All rights reserved.
// 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/ast.h"
#include "src/ast-literal-reindexer.h"
#include "src/ast.h"
#include "src/scopes.h"
namespace v8 {
......
......@@ -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/ast.h"
#include "src/ast-numbering.h"
#include "src/ast.h"
#include "src/scopes.h"
namespace v8 {
......
......@@ -8,12 +8,18 @@
namespace v8 {
namespace internal {
// Forward declarations.
class FunctionLiteral;
class Isolate;
class Zone;
namespace AstNumbering {
// Assign type feedback IDs and bailout IDs to an AST node tree.
//
bool Renumber(Isolate* isolate, Zone* zone, FunctionLiteral* function);
}
}
} // namespace v8::internal
} // namespace internal
} // namespace v8
#endif // V8_AST_NUMBERING_H_
......@@ -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/bignum-dtoa.h"
#include <cmath>
#include "src/base/logging.h"
#include "src/utils.h"
#include "src/bignum-dtoa.h"
#include "src/bignum.h"
#include "src/double.h"
#include "src/utils.h"
namespace v8 {
namespace internal {
......
......@@ -5,6 +5,8 @@
#ifndef V8_BIGNUM_DTOA_H_
#define V8_BIGNUM_DTOA_H_
#include "src/vector.h"
namespace v8 {
namespace internal {
......
......@@ -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/bignum.h"
#include "src/utils.h"
......
......@@ -5,6 +5,8 @@
#ifndef V8_BIGNUM_H_
#define V8_BIGNUM_H_
#include "src/vector.h"
namespace v8 {
namespace internal {
......
......@@ -2,13 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "src/cached-powers.h"
#include <limits.h>
#include <stdarg.h>
#include <stdint.h>
#include <cmath>
#include "src/base/logging.h"
#include "src/cached-powers.h"
#include "src/globals.h"
namespace v8 {
......
......@@ -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-factory.h"
#include "src/bootstrapper.h"
#include "src/code-factory.h"
#include "src/ic/ic.h"
namespace v8 {
......
......@@ -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 "src/v8.h"
#include "src/codegen.h"
#if defined(V8_OS_AIX)
#include <fenv.h>
#endif
#include "src/bootstrapper.h"
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/cpu-profiler.h"
#include "src/debug/debug.h"
......
......@@ -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/compilation-dependencies.h"
#include "src/factory.h"
#include "src/handles-inl.h"
#include "src/isolate.h"
#include "src/objects-inl.h"
#include "src/zone.h"
#include "src/compilation-dependencies.h"
namespace v8 {
namespace internal {
......
......@@ -5,6 +5,9 @@
#ifndef V8_DEPENDENCIES_H_
#define V8_DEPENDENCIES_H_
#include "src/handles.h"
#include "src/objects.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/contexts.h"
#include "src/bootstrapper.h"
#include "src/debug/debug.h"
......
......@@ -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/disassembler.h"
#include "src/code-stubs.h"
#include "src/codegen.h"
#include "src/debug/debug.h"
#include "src/deoptimizer.h"
#include "src/disasm.h"
#include "src/disassembler.h"
#include "src/macro-assembler.h"
#include "src/snapshot/serialize.h"
#include "src/string-stream.h"
......
......@@ -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 <stdint.h>
#include "src/base/logging.h"
#include "src/diy-fp.h"
#include "src/globals.h"
#include <stdint.h>
namespace v8 {
namespace internal {
......
......@@ -5,6 +5,10 @@
#ifndef V8_DIY_FP_H_
#define V8_DIY_FP_H_
#include <stdint.h>
#include "src/base/logging.h"
namespace v8 {
namespace internal {
......
......@@ -6,8 +6,6 @@
#include <sstream>
#include "src/v8.h"
#include "src/ast.h"
#include "src/base/bits.h"
#include "src/deoptimizer.h"
......
......@@ -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/func-name-inferrer.h"
#include "src/ast.h"
#include "src/ast-value-factory.h"
#include "src/func-name-inferrer.h"
#include "src/list-inl.h"
namespace v8 {
......
......@@ -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/gdb-jit.h"
#include "src/base/bits.h"
#include "src/base/platform/platform.h"
......@@ -10,7 +10,6 @@
#include "src/compiler.h"
#include "src/frames-inl.h"
#include "src/frames.h"
#include "src/gdb-jit.h"
#include "src/global-handles.h"
#include "src/messages.h"
#include "src/objects.h"
......
......@@ -5,6 +5,7 @@
#ifndef V8_HEAP_SNAPSHOT_GENERATOR_H_
#define V8_HEAP_SNAPSHOT_GENERATOR_H_
#include "src/base/platform/time.h"
#include "src/strings-storage.h"
namespace v8 {
......
......@@ -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/log-utils.h"
#include "src/assert-scope.h"
#include "src/base/platform/platform.h"
#include "src/objects-inl.h"
#include "src/string-stream.h"
#include "src/utils.h"
#include "src/version.h"
namespace v8 {
......
......@@ -6,6 +6,8 @@
#define V8_LOG_UTILS_H_
#include "src/allocation.h"
#include "src/base/platform/mutex.h"
#include "src/flags.h"
namespace v8 {
namespace internal {
......
......@@ -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/modules.h"
#include "src/ast-value-factory.h"
......
......@@ -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/parser.h"
#include "src/api.h"
#include "src/ast.h"
......@@ -14,7 +14,6 @@
#include "src/codegen.h"
#include "src/compiler.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/preparser.h"
#include "src/runtime/runtime.h"
#include "src/scanner-character-streams.h"
......
......@@ -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/rewriter.h"
#include "src/ast.h"
#include "src/parser.h"
#include "src/rewriter.h"
#include "src/scopes.h"
namespace v8 {
......
......@@ -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/safepoint-table.h"
#include "src/deoptimizer.h"
......
......@@ -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/scopes.h"
#include "src/accessors.h"
#include "src/bootstrapper.h"
#include "src/messages.h"
#include "src/parser.h"
#include "src/scopeinfo.h"
#include "src/scopes.h"
namespace v8 {
namespace internal {
......
......@@ -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/strtod.h"
#include <stdarg.h>
#include <cmath>
#include "src/v8.h"
#include "src/bignum.h"
#include "src/cached-powers.h"
#include "src/double.h"
#include "src/globals.h"
#include "src/strtod.h"
#include "src/utils.h"
namespace v8 {
......
......@@ -5,6 +5,8 @@
#ifndef V8_STRTOD_H_
#define V8_STRTOD_H_
#include "src/vector.h"
namespace v8 {
namespace internal {
......
......@@ -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/utils.h"
#include <stdarg.h>
#include <sys/stat.h>
#include "src/v8.h"
#include "src/base/functional.h"
#include "src/base/logging.h"
#include "src/base/platform/platform.h"
#include "src/utils.h"
namespace v8 {
namespace internal {
......
......@@ -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/variables.h"
#include "src/ast.h"
#include "src/scopes.h"
#include "src/variables.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