A tiny contribution for the IWYU day: Include allocation.h in every

header which uses BASE_EMBEDDED and/or AllStatic. Note that still only
45 out of 135 headers in src/ can be used stand-alone, but at least
this is a little bit more than before...
Review URL: http://codereview.chromium.org/6931031

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@7798 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
svenpanne@chromium.org 2011-05-06 06:50:20 +00:00
parent 2500f14868
commit 5cd715cbc3
48 changed files with 62 additions and 0 deletions

View File

@ -28,6 +28,8 @@
#ifndef V8_ACCESSORS_H_
#define V8_ACCESSORS_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,8 @@
#ifndef V8_ARGUMENTS_H_
#define V8_ARGUMENTS_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -35,6 +35,7 @@
#ifndef V8_ASSEMBLER_H_
#define V8_ASSEMBLER_H_
#include "allocation.h"
#include "gdb-jit.h"
#include "runtime.h"
#include "token.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_AST_H_
#define V8_AST_H_
#include "allocation.h"
#include "execution.h"
#include "factory.h"
#include "jsregexp.h"

View File

@ -29,6 +29,8 @@
#ifndef V8_BOOTSTRAPPER_H_
#define V8_BOOTSTRAPPER_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_CODE_STUBS_H_
#define V8_CODE_STUBS_H_
#include "allocation.h"
#include "globals.h"
namespace v8 {

View File

@ -28,6 +28,8 @@
#ifndef V8_CODE_H_
#define V8_CODE_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_COMPILER_H_
#define V8_COMPILER_H_
#include "allocation.h"
#include "ast.h"
#include "frame-element.h"
#include "zone.h"

View File

@ -30,6 +30,7 @@
#ifdef ENABLE_LOGGING_AND_PROFILING
#include "allocation.h"
#include "atomicops.h"
#include "circular-queue.h"
#include "unbound-queue.h"

View File

@ -36,6 +36,8 @@
#ifndef V8_CPU_H_
#define V8_CPU_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_D8_H_
#define V8_D8_H_
#include "allocation.h"
#include "v8.h"
#include "hashmap.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "ast.h"
#include "compiler.h"
#include "zone-inl.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_DATEPARSER_H_
#define V8_DATEPARSER_H_
#include "allocation.h"
#include "char-predicates-inl.h"
#include "scanner-base.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_DEBUG_H_
#define V8_DEBUG_H_
#include "allocation.h"
#include "arguments.h"
#include "assembler.h"
#include "debug-agent.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "macro-assembler.h"
#include "zone-inl.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_DISASSEMBLER_H_
#define V8_DISASSEMBLER_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,8 @@
#ifndef V8_EXECUTION_H_
#define V8_EXECUTION_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_FRAME_ELEMENT_H_
#define V8_FRAME_ELEMENT_H_
#include "allocation.h"
#include "type-info.h"
#include "macro-assembler.h"
#include "zone.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_FRAMES_H_
#define V8_FRAMES_H_
#include "allocation.h"
#include "handles.h"
#include "safepoint-table.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "ast.h"
#include "code-stubs.h"
#include "codegen.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_GDB_JIT_H_
#define V8_GDB_JIT_H_
#include "allocation.h"
//
// Basic implementation of GDB JIT Interface client.
// GBD JIT Interface is supported in GDB 7.0 and above.

View File

@ -28,6 +28,7 @@
#ifndef V8_HANDLES_H_
#define V8_HANDLES_H_
#include "allocation.h"
#include "apiutils.h"
namespace v8 {

View File

@ -28,6 +28,7 @@
#ifndef V8_HEAP_PROFILER_H_
#define V8_HEAP_PROFILER_H_
#include "allocation.h"
#include "isolate.h"
#include "zone-inl.h"

View File

@ -30,6 +30,7 @@
#include <math.h>
#include "allocation.h"
#include "globals.h"
#include "list.h"
#include "mark-compact.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "code-stubs.h"
#include "data-flow.h"
#include "small-pointer-list.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "ast.h"
#include "compiler.h"
#include "hydrogen-instructions.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_JSREGEXP_H_
#define V8_JSREGEXP_H_
#include "allocation.h"
#include "macro-assembler.h"
#include "zone-inl.h"

View File

@ -30,6 +30,7 @@
#include "v8.h"
#include "allocation.h"
#include "lithium.h"
#include "zone.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_LITHIUM_H_
#define V8_LITHIUM_H_
#include "allocation.h"
#include "hydrogen.h"
#include "safepoint-table.h"

View File

@ -49,6 +49,7 @@
// instantiate newly compiled functions.
#include "allocation.h"
#include "compiler.h"
namespace v8 {

View File

@ -28,6 +28,8 @@
#ifndef V8_LOG_UTILS_H_
#define V8_LOG_UTILS_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_LOG_H_
#define V8_LOG_H_
#include "allocation.h"
#include "platform.h"
#include "log-utils.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_OBJECTS_VISITING_H_
#define V8_OBJECTS_VISITING_H_
#include "allocation.h"
// This file provides base classes and auxiliary methods for defining
// static object visitors used during GC.
// Visiting HeapObject body with a normal ObjectVisitor requires performing

View File

@ -28,6 +28,7 @@
#ifndef V8_OBJECTS_H_
#define V8_OBJECTS_H_
#include "allocation.h"
#include "builtins.h"
#include "smart-pointer.h"
#include "unicode-inl.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_PREPARSER_DATA_H_
#define V8_PREPARSER_DATA_H_
#include "allocation.h"
#include "hashmap.h"
#include "utils-inl.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_PRETTYPRINTER_H_
#define V8_PRETTYPRINTER_H_
#include "allocation.h"
#include "ast.h"
namespace v8 {

View File

@ -30,6 +30,7 @@
#ifdef ENABLE_LOGGING_AND_PROFILING
#include "allocation.h"
#include "hashmap.h"
#include "../include/v8-profiler.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_PROPERTY_H_
#define V8_PROPERTY_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_RUNTIME_H_
#define V8_RUNTIME_H_
#include "allocation.h"
#include "zone.h"
namespace v8 {

View File

@ -28,6 +28,7 @@
#ifndef V8_SAFEPOINT_TABLE_H_
#define V8_SAFEPOINT_TABLE_H_
#include "allocation.h"
#include "heap.h"
#include "v8memory.h"
#include "zone.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_SCOPEINFO_H_
#define V8_SCOPEINFO_H_
#include "allocation.h"
#include "variables.h"
#include "zone-inl.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_SPACES_H_
#define V8_SPACES_H_
#include "allocation.h"
#include "list.h"
#include "log.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_SPLAY_TREE_H_
#define V8_SPLAY_TREE_H_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_STUB_CACHE_H_
#define V8_STUB_CACHE_H_
#include "allocation.h"
#include "arguments.h"
#include "macro-assembler.h"
#include "zone-inl.h"

View File

@ -28,6 +28,7 @@
#ifndef V8_TYPE_INFO_H_
#define V8_TYPE_INFO_H_
#include "allocation.h"
#include "globals.h"
#include "zone.h"
#include "zone-inl.h"

View File

@ -28,6 +28,8 @@
#ifndef V8_UNBOUND_QUEUE_
#define V8_UNBOUND_QUEUE_
#include "allocation.h"
namespace v8 {
namespace internal {

View File

@ -28,6 +28,7 @@
#ifndef V8_VM_STATE_H_
#define V8_VM_STATE_H_
#include "allocation.h"
#include "isolate.h"
namespace v8 {

View File

@ -28,6 +28,8 @@
#ifndef V8_ZONE_H_
#define V8_ZONE_H_
#include "allocation.h"
namespace v8 {
namespace internal {