OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 | 28 |
29 #include <stdlib.h> | 29 #include <stdlib.h> |
30 | 30 |
31 #include "src/v8.h" | 31 #include "src/v8.h" |
32 | 32 |
33 #include "src/ast.h" | 33 #include "src/ast.h" |
34 #include "src/char-predicates-inl.h" | 34 #include "src/char-predicates-inl.h" |
35 #include "src/jsregexp.h" | 35 #include "src/jsregexp.h" |
36 #include "src/parser.h" | 36 #include "src/parser.h" |
| 37 #include "src/regexp-macro-assembler.h" |
37 #include "src/regexp-macro-assembler-irregexp.h" | 38 #include "src/regexp-macro-assembler-irregexp.h" |
38 #include "src/regexp-macro-assembler.h" | |
39 #include "src/string-stream.h" | 39 #include "src/string-stream.h" |
40 #include "src/zone-inl.h" | 40 #include "src/zone-inl.h" |
41 #ifdef V8_INTERPRETED_REGEXP | 41 #ifdef V8_INTERPRETED_REGEXP |
42 #include "src/interpreter-irregexp.h" | 42 #include "src/interpreter-irregexp.h" |
43 #else // V8_INTERPRETED_REGEXP | 43 #else // V8_INTERPRETED_REGEXP |
44 #include "src/macro-assembler.h" | 44 #include "src/macro-assembler.h" |
45 #include "src/code.h" | |
46 #if V8_TARGET_ARCH_ARM | 45 #if V8_TARGET_ARCH_ARM |
47 #include "src/arm/assembler-arm.h" | 46 #include "src/arm/assembler-arm.h" // NOLINT |
48 #include "src/arm/macro-assembler-arm.h" | 47 #include "src/arm/macro-assembler-arm.h" |
49 #include "src/arm/regexp-macro-assembler-arm.h" | 48 #include "src/arm/regexp-macro-assembler-arm.h" |
50 #endif | 49 #endif |
51 #if V8_TARGET_ARCH_ARM64 | 50 #if V8_TARGET_ARCH_ARM64 |
52 #include "src/arm64/assembler-arm64.h" | 51 #include "src/arm64/assembler-arm64.h" |
53 #include "src/arm64/macro-assembler-arm64.h" | 52 #include "src/arm64/macro-assembler-arm64.h" |
54 #include "src/arm64/regexp-macro-assembler-arm64.h" | 53 #include "src/arm64/regexp-macro-assembler-arm64.h" |
55 #endif | 54 #endif |
56 #if V8_TARGET_ARCH_MIPS | 55 #if V8_TARGET_ARCH_MIPS |
57 #include "src/mips/assembler-mips.h" | 56 #include "src/mips/assembler-mips.h" |
(...skipping 1753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1811 ZoneList<CharacterRange> first_only(4, &zone); | 1810 ZoneList<CharacterRange> first_only(4, &zone); |
1812 ZoneList<CharacterRange> second_only(4, &zone); | 1811 ZoneList<CharacterRange> second_only(4, &zone); |
1813 ZoneList<CharacterRange> both(4, &zone); | 1812 ZoneList<CharacterRange> both(4, &zone); |
1814 } | 1813 } |
1815 | 1814 |
1816 | 1815 |
1817 TEST(Graph) { | 1816 TEST(Graph) { |
1818 V8::Initialize(NULL); | 1817 V8::Initialize(NULL); |
1819 Execute("\\b\\w+\\b", false, true, true); | 1818 Execute("\\b\\w+\\b", false, true, true); |
1820 } | 1819 } |
OLD | NEW |