OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/ast.h" | 7 #include "src/ast.h" |
| 8 #include "src/compilation-cache.h" |
8 #include "src/compiler.h" | 9 #include "src/compiler.h" |
9 #include "src/execution.h" | 10 #include "src/execution.h" |
10 #include "src/factory.h" | 11 #include "src/factory.h" |
| 12 #include "src/jsregexp-inl.h" |
11 #include "src/jsregexp.h" | 13 #include "src/jsregexp.h" |
12 #include "src/jsregexp-inl.h" | 14 #include "src/parser.h" |
13 #include "src/platform.h" | 15 #include "src/platform.h" |
| 16 #include "src/regexp-macro-assembler.h" |
| 17 #include "src/regexp-macro-assembler-irregexp.h" |
| 18 #include "src/regexp-macro-assembler-tracer.h" |
| 19 #include "src/regexp-stack.h" |
| 20 #include "src/runtime.h" |
14 #include "src/string-search.h" | 21 #include "src/string-search.h" |
15 #include "src/runtime.h" | |
16 #include "src/compilation-cache.h" | |
17 #include "src/string-stream.h" | 22 #include "src/string-stream.h" |
18 #include "src/parser.h" | |
19 #include "src/regexp-macro-assembler.h" | |
20 #include "src/regexp-macro-assembler-tracer.h" | |
21 #include "src/regexp-macro-assembler-irregexp.h" | |
22 #include "src/regexp-stack.h" | |
23 | 23 |
24 #ifndef V8_INTERPRETED_REGEXP | 24 #ifndef V8_INTERPRETED_REGEXP |
25 #if V8_TARGET_ARCH_IA32 | 25 #if V8_TARGET_ARCH_IA32 |
26 #include "src/ia32/regexp-macro-assembler-ia32.h" | 26 #include "src/ia32/regexp-macro-assembler-ia32.h" // NOLINT |
27 #elif V8_TARGET_ARCH_X64 | 27 #elif V8_TARGET_ARCH_X64 |
28 #include "src/x64/regexp-macro-assembler-x64.h" | 28 #include "src/x64/regexp-macro-assembler-x64.h" // NOLINT |
29 #elif V8_TARGET_ARCH_ARM64 | 29 #elif V8_TARGET_ARCH_ARM64 |
30 #include "src/arm64/regexp-macro-assembler-arm64.h" | 30 #include "src/arm64/regexp-macro-assembler-arm64.h" // NOLINT |
31 #elif V8_TARGET_ARCH_ARM | 31 #elif V8_TARGET_ARCH_ARM |
32 #include "src/arm/regexp-macro-assembler-arm.h" | 32 #include "src/arm/regexp-macro-assembler-arm.h" // NOLINT |
33 #elif V8_TARGET_ARCH_MIPS | 33 #elif V8_TARGET_ARCH_MIPS |
34 #include "src/mips/regexp-macro-assembler-mips.h" | 34 #include "src/mips/regexp-macro-assembler-mips.h" // NOLINT |
35 #elif V8_TARGET_ARCH_X87 | 35 #elif V8_TARGET_ARCH_X87 |
36 #include "src/x87/regexp-macro-assembler-x87.h" | 36 #include "src/x87/regexp-macro-assembler-x87.h" // NOLINT |
37 #else | 37 #else |
38 #error Unsupported target architecture. | 38 #error Unsupported target architecture. |
39 #endif | 39 #endif |
40 #endif | 40 #endif |
41 | 41 |
42 #include "src/interpreter-irregexp.h" | 42 #include "src/interpreter-irregexp.h" |
43 | 43 |
44 | 44 |
45 namespace v8 { | 45 namespace v8 { |
46 namespace internal { | 46 namespace internal { |
(...skipping 6060 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6107 } | 6107 } |
6108 | 6108 |
6109 return compiler.Assemble(¯o_assembler, | 6109 return compiler.Assemble(¯o_assembler, |
6110 node, | 6110 node, |
6111 data->capture_count, | 6111 data->capture_count, |
6112 pattern); | 6112 pattern); |
6113 } | 6113 } |
6114 | 6114 |
6115 | 6115 |
6116 }} // namespace v8::internal | 6116 }} // namespace v8::internal |
OLD | NEW |