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 15 matching lines...) Expand all Loading... |
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
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/ostreams.h" |
36 #include "src/parser.h" | 37 #include "src/parser.h" |
37 #include "src/regexp-macro-assembler.h" | 38 #include "src/regexp-macro-assembler.h" |
38 #include "src/regexp-macro-assembler-irregexp.h" | 39 #include "src/regexp-macro-assembler-irregexp.h" |
39 #include "src/string-stream.h" | 40 #include "src/string-stream.h" |
40 #include "src/zone-inl.h" | 41 #include "src/zone-inl.h" |
41 #ifdef V8_INTERPRETED_REGEXP | 42 #ifdef V8_INTERPRETED_REGEXP |
42 #include "src/interpreter-irregexp.h" | 43 #include "src/interpreter-irregexp.h" |
43 #else // V8_INTERPRETED_REGEXP | 44 #else // V8_INTERPRETED_REGEXP |
44 #include "src/macro-assembler.h" | 45 #include "src/macro-assembler.h" |
45 #if V8_TARGET_ARCH_ARM | 46 #if V8_TARGET_ARCH_ARM |
(...skipping 1772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1818 ZoneList<CharacterRange> first_only(4, &zone); | 1819 ZoneList<CharacterRange> first_only(4, &zone); |
1819 ZoneList<CharacterRange> second_only(4, &zone); | 1820 ZoneList<CharacterRange> second_only(4, &zone); |
1820 ZoneList<CharacterRange> both(4, &zone); | 1821 ZoneList<CharacterRange> both(4, &zone); |
1821 } | 1822 } |
1822 | 1823 |
1823 | 1824 |
1824 TEST(Graph) { | 1825 TEST(Graph) { |
1825 V8::Initialize(NULL); | 1826 V8::Initialize(NULL); |
1826 Execute("\\b\\w+\\b", false, true, true); | 1827 Execute("\\b\\w+\\b", false, true, true); |
1827 } | 1828 } |
OLD | NEW |