From 72823c8cfc77bb162a1f7f7909d210a8afb175be Mon Sep 17 00:00:00 2001 From: Clemens Hammacher Date: Fri, 16 Nov 2018 14:28:46 +0100 Subject: [PATCH] [iwyu] Remove assembler.h -> register-configuration.h {RegisterConfiguration} is not used inside assembler.h. Instead, include it where needed. R=mstarzinger@chromium.org Bug: v8:8238, v8:7490 Change-Id: Ic1aca23e862c30f5b5c7d13b866a859f1a4d4803 Reviewed-on: https://chromium-review.googlesource.com/c/1340244 Commit-Queue: Clemens Hammacher Reviewed-by: Michael Starzinger Cr-Commit-Position: refs/heads/master@{#57601} --- src/arm/disasm-arm.cc | 2 +- src/arm/simulator-arm.cc | 1 + src/assembler.h | 1 - src/builtins/arm/builtins-arm.cc | 1 + src/builtins/arm64/builtins-arm64.cc | 1 + src/builtins/ia32/builtins-ia32.cc | 1 + src/builtins/mips/builtins-mips.cc | 1 + src/builtins/mips64/builtins-mips64.cc | 1 + src/builtins/x64/builtins-x64.cc | 1 + src/deoptimizer.cc | 1 + src/objects.cc | 1 + 11 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/arm/disasm-arm.cc b/src/arm/disasm-arm.cc index d93e56ed38..468960e3b1 100644 --- a/src/arm/disasm-arm.cc +++ b/src/arm/disasm-arm.cc @@ -35,7 +35,7 @@ #include "src/base/platform/platform.h" #include "src/disasm.h" #include "src/macro-assembler.h" - +#include "src/register-configuration.h" namespace v8 { namespace internal { diff --git a/src/arm/simulator-arm.cc b/src/arm/simulator-arm.cc index c198d1f2fb..49b9d90fb5 100644 --- a/src/arm/simulator-arm.cc +++ b/src/arm/simulator-arm.cc @@ -16,6 +16,7 @@ #include "src/disasm.h" #include "src/macro-assembler.h" #include "src/objects-inl.h" +#include "src/register-configuration.h" #include "src/runtime/runtime-utils.h" #if defined(USE_SIMULATOR) diff --git a/src/assembler.h b/src/assembler.h index 2ed8857435..57f52183aa 100644 --- a/src/assembler.h +++ b/src/assembler.h @@ -43,7 +43,6 @@ #include "src/globals.h" #include "src/handles.h" #include "src/objects.h" -#include "src/register-configuration.h" #include "src/reglist.h" #include "src/reloc-info.h" diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc index 45b56b4f48..c563c841c1 100644 --- a/src/builtins/arm/builtins-arm.cc +++ b/src/builtins/arm/builtins-arm.cc @@ -15,6 +15,7 @@ #include "src/objects-inl.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/runtime/runtime.h" #include "src/wasm/wasm-objects.h" diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc index de48f046d1..697539d77b 100644 --- a/src/builtins/arm64/builtins-arm64.cc +++ b/src/builtins/arm64/builtins-arm64.cc @@ -15,6 +15,7 @@ #include "src/objects-inl.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/runtime/runtime.h" #include "src/wasm/wasm-objects.h" diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc index de604318e7..6cec036af2 100644 --- a/src/builtins/ia32/builtins-ia32.cc +++ b/src/builtins/ia32/builtins-ia32.cc @@ -14,6 +14,7 @@ #include "src/objects-inl.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/wasm/wasm-linkage.h" #include "src/wasm/wasm-objects.h" diff --git a/src/builtins/mips/builtins-mips.cc b/src/builtins/mips/builtins-mips.cc index 8b0c9df20e..313820e96c 100644 --- a/src/builtins/mips/builtins-mips.cc +++ b/src/builtins/mips/builtins-mips.cc @@ -15,6 +15,7 @@ #include "src/objects-inl.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/runtime/runtime.h" #include "src/wasm/wasm-objects.h" diff --git a/src/builtins/mips64/builtins-mips64.cc b/src/builtins/mips64/builtins-mips64.cc index af2a8038ea..2491a02e42 100644 --- a/src/builtins/mips64/builtins-mips64.cc +++ b/src/builtins/mips64/builtins-mips64.cc @@ -15,6 +15,7 @@ #include "src/objects-inl.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/runtime/runtime.h" #include "src/wasm/wasm-objects.h" diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc index f60b0316ee..6b280c9260 100644 --- a/src/builtins/x64/builtins-x64.cc +++ b/src/builtins/x64/builtins-x64.cc @@ -14,6 +14,7 @@ #include "src/objects/debug-objects.h" #include "src/objects/js-generator.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/wasm/wasm-linkage.h" #include "src/wasm/wasm-objects.h" diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc index af1449ca78..c7f6741b9a 100644 --- a/src/deoptimizer.cc +++ b/src/deoptimizer.cc @@ -18,6 +18,7 @@ #include "src/macro-assembler.h" #include "src/objects/debug-objects-inl.h" #include "src/objects/smi.h" +#include "src/register-configuration.h" #include "src/tracing/trace-event.h" #include "src/v8.h" diff --git a/src/objects.cc b/src/objects.cc index 7f195ff89f..a7b8719cf4 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -60,6 +60,7 @@ #include "src/objects/frame-array-inl.h" #include "src/objects/hash-table-inl.h" #include "src/objects/js-array-inl.h" +#include "src/register-configuration.h" #ifdef V8_INTL_SUPPORT #include "src/objects/js-break-iterator.h" #include "src/objects/js-collator.h"