Remove grab-bag includes of v8.h from regexp engine.
authormstarzinger <mstarzinger@chromium.org>
Fri, 14 Aug 2015 15:09:27 +0000 (08:09 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 14 Aug 2015 15:09:34 +0000 (15:09 +0000)
R=yangguo@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30180}

16 files changed:
src/regexp/arm/regexp-macro-assembler-arm.cc
src/regexp/arm64/regexp-macro-assembler-arm64.cc
src/regexp/ia32/regexp-macro-assembler-ia32.cc
src/regexp/interpreter-irregexp.cc
src/regexp/interpreter-irregexp.h
src/regexp/jsregexp.cc
src/regexp/mips/regexp-macro-assembler-mips.cc
src/regexp/mips64/regexp-macro-assembler-mips64.cc
src/regexp/ppc/regexp-macro-assembler-ppc.cc
src/regexp/regexp-macro-assembler-irregexp.cc
src/regexp/regexp-macro-assembler-tracer.cc
src/regexp/regexp-macro-assembler.cc
src/regexp/regexp-stack.cc
src/regexp/regexp-stack.h
src/regexp/x64/regexp-macro-assembler-x64.cc
src/regexp/x87/regexp-macro-assembler-x87.cc

index b60a68e..d502060 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_ARM
 
 #include "src/regexp/arm/regexp-macro-assembler-arm.h"
index 9198845..ed24cf3 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_ARM64
 
 #include "src/regexp/arm64/regexp-macro-assembler-arm64.h"
index 5003a8c..3ba5db1 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_IA32
 
 #include "src/regexp/ia32/regexp-macro-assembler-ia32.h"
index 0d4d467..afc31a3 100644 (file)
@@ -4,12 +4,10 @@
 
 // A simple interpreter for the Irregexp byte code.
 
-
-#include "src/v8.h"
+#include "src/regexp/interpreter-irregexp.h"
 
 #include "src/ast.h"
 #include "src/regexp/bytecodes-irregexp.h"
-#include "src/regexp/interpreter-irregexp.h"
 #include "src/regexp/jsregexp.h"
 #include "src/regexp/regexp-macro-assembler.h"
 #include "src/unicode.h"
index 2aacec3..d97d3b0 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef V8_REGEXP_INTERPRETER_IRREGEXP_H_
 #define V8_REGEXP_INTERPRETER_IRREGEXP_H_
 
+#include "src/regexp/jsregexp.h"
+
 namespace v8 {
 namespace internal {
 
index 3285f15..aacaa1b 100644 (file)
@@ -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/regexp/jsregexp.h"
 
 #include "src/ast.h"
index 8519a53..77f0991 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_MIPS
 
 #include "src/regexp/mips/regexp-macro-assembler-mips.h"
index da96aa1..838fc68 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_MIPS64
 
 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h"
index b0d356c..e820aa9 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_PPC
 
 #include "src/regexp/ppc/regexp-macro-assembler-ppc.h"
index 3fbbf65..ca567c9 100644 (file)
@@ -2,12 +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/regexp/regexp-macro-assembler-irregexp.h"
 
 #include "src/ast.h"
 #include "src/regexp/bytecodes-irregexp.h"
 #include "src/regexp/regexp-macro-assembler.h"
-#include "src/regexp/regexp-macro-assembler-irregexp.h"
 #include "src/regexp/regexp-macro-assembler-irregexp-inl.h"
 
 
index f077412..2abe555 100644 (file)
@@ -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/regexp/regexp-macro-assembler-tracer.h"
 
 #include "src/ast.h"
-#include "src/regexp/regexp-macro-assembler-tracer.h"
 
 namespace v8 {
 namespace internal {
index 5bc1d94..20105c0 100644 (file)
@@ -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/regexp/regexp-macro-assembler.h"
 
 #include "src/assembler.h"
 #include "src/ast.h"
-#include "src/regexp/regexp-macro-assembler.h"
 #include "src/regexp/regexp-stack.h"
 #include "src/simulator.h"
 
index 35a58e1..348e684 100644 (file)
@@ -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/regexp/regexp-stack.h"
 
+#include "src/isolate.h"
+#include "src/objects-inl.h"  // TODO(mstarzinger): Temporary cycle breaker!
+
 namespace v8 {
 namespace internal {
 
index 210ec0c..9a6394e 100644 (file)
@@ -5,9 +5,9 @@
 #ifndef V8_REGEXP_REGEXP_STACK_H_
 #define V8_REGEXP_REGEXP_STACK_H_
 
-#include "src/allocation.h"
+#include "src/base/logging.h"
+#include "src/base/macros.h"
 #include "src/globals.h"
-#include "src/isolate.h"
 
 namespace v8 {
 namespace internal {
index 74b7e87..c0f5f2c 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_X64
 
 #include "src/regexp/x64/regexp-macro-assembler-x64.h"
index 9686f64..c30994e 100644 (file)
@@ -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"
-
 #if V8_TARGET_ARCH_X87
 
 #include "src/regexp/x87/regexp-macro-assembler-x87.h"