Commit 038be517 authored by marja's avatar marja Committed by Commit bot

Include only stuff you need, part 2: ast.h, ast-value-factory.h in ports.

Rebuilding (after touching certain files) is crazy slow because
includes are out of control.

Fixing it:
- Don't include stuff in headers unless necessary.
- Include the stuff you need, not some other stuff that happens to include the
stuff you need.

BUG=v8:5294

Review-Url: https://codereview.chromium.org/2258603003
Cr-Commit-Position: refs/heads/master@{#38770}
parent 0e8fe082
......@@ -5,7 +5,6 @@
#ifndef V8_ARM_CODEGEN_ARM_H_
#define V8_ARM_CODEGEN_ARM_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -5,7 +5,6 @@
#ifndef V8_ARM64_CODEGEN_ARM64_H_
#define V8_ARM64_CODEGEN_ARM64_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -5,7 +5,6 @@
#ifndef V8_IA32_CODEGEN_IA32_H_
#define V8_IA32_CODEGEN_IA32_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -6,8 +6,6 @@
#ifndef V8_MIPS_CODEGEN_MIPS_H_
#define V8_MIPS_CODEGEN_MIPS_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -6,8 +6,6 @@
#ifndef V8_MIPS_CODEGEN_MIPS_H_
#define V8_MIPS_CODEGEN_MIPS_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -5,7 +5,6 @@
#ifndef V8_PPC_CODEGEN_PPC_H_
#define V8_PPC_CODEGEN_PPC_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -8,7 +8,6 @@
#ifndef V8_S390_CODEGEN_S390_H_
#define V8_S390_CODEGEN_S390_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -5,7 +5,6 @@
#ifndef V8_X64_CODEGEN_X64_H_
#define V8_X64_CODEGEN_X64_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
......@@ -5,7 +5,6 @@
#ifndef V8_X87_CODEGEN_X87_H_
#define V8_X87_CODEGEN_X87_H_
#include "src/ast/ast.h"
#include "src/macro-assembler.h"
namespace v8 {
......
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