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 // TODO(mythria): Remove this define after this flag is turned on globally | 28 // TODO(mythria): Remove this define after this flag is turned on globally |
29 #define V8_IMMINENT_DEPRECATION_WARNINGS | 29 #define V8_IMMINENT_DEPRECATION_WARNINGS |
30 | 30 |
31 #include <cstdlib> | 31 #include <cstdlib> |
32 #include <sstream> | 32 #include <sstream> |
33 | 33 |
34 #include "src/v8.h" | 34 #include "src/v8.h" |
35 | 35 |
36 #include "src/ast.h" | 36 #include "src/ast/ast.h" |
37 #include "src/char-predicates-inl.h" | 37 #include "src/char-predicates-inl.h" |
38 #include "src/ostreams.h" | 38 #include "src/ostreams.h" |
39 #include "src/parser.h" | 39 #include "src/parsing/parser.h" |
40 #include "src/regexp/jsregexp.h" | 40 #include "src/regexp/jsregexp.h" |
41 #include "src/regexp/regexp-macro-assembler.h" | 41 #include "src/regexp/regexp-macro-assembler.h" |
42 #include "src/regexp/regexp-macro-assembler-irregexp.h" | 42 #include "src/regexp/regexp-macro-assembler-irregexp.h" |
43 #include "src/splay-tree-inl.h" | 43 #include "src/splay-tree-inl.h" |
44 #include "src/string-stream.h" | 44 #include "src/string-stream.h" |
45 #ifdef V8_INTERPRETED_REGEXP | 45 #ifdef V8_INTERPRETED_REGEXP |
46 #include "src/regexp/interpreter-irregexp.h" | 46 #include "src/regexp/interpreter-irregexp.h" |
47 #else // V8_INTERPRETED_REGEXP | 47 #else // V8_INTERPRETED_REGEXP |
48 #include "src/macro-assembler.h" | 48 #include "src/macro-assembler.h" |
49 #if V8_TARGET_ARCH_ARM | 49 #if V8_TARGET_ARCH_ARM |
(...skipping 1789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1839 | 1839 |
1840 ZoneList<CharacterRange> first_only(4, &zone); | 1840 ZoneList<CharacterRange> first_only(4, &zone); |
1841 ZoneList<CharacterRange> second_only(4, &zone); | 1841 ZoneList<CharacterRange> second_only(4, &zone); |
1842 ZoneList<CharacterRange> both(4, &zone); | 1842 ZoneList<CharacterRange> both(4, &zone); |
1843 } | 1843 } |
1844 | 1844 |
1845 | 1845 |
1846 TEST(Graph) { | 1846 TEST(Graph) { |
1847 Execute("\\b\\w+\\b", false, true, true); | 1847 Execute("\\b\\w+\\b", false, true, true); |
1848 } | 1848 } |
OLD | NEW |