OLD | NEW |
1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 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 17 matching lines...) Expand all Loading... |
28 | 28 |
29 #include <stdlib.h> | 29 #include <stdlib.h> |
30 | 30 |
31 #include "v8.h" | 31 #include "v8.h" |
32 | 32 |
33 #include "string-stream.h" | 33 #include "string-stream.h" |
34 #include "cctest.h" | 34 #include "cctest.h" |
35 #include "zone-inl.h" | 35 #include "zone-inl.h" |
36 #include "parser.h" | 36 #include "parser.h" |
37 #include "ast.h" | 37 #include "ast.h" |
38 #include "jsregexp-inl.h" | 38 #include "jsregexp.h" |
39 #include "regexp-macro-assembler.h" | 39 #include "regexp-macro-assembler.h" |
40 #include "regexp-macro-assembler-irregexp.h" | 40 #include "regexp-macro-assembler-irregexp.h" |
41 #ifdef V8_TARGET_ARCH_ARM | 41 #ifdef V8_TARGET_ARCH_ARM |
42 #include "arm/regexp-macro-assembler-arm.h" | 42 #include "arm/regexp-macro-assembler-arm.h" |
43 #endif | 43 #endif |
44 #ifdef V8_TARGET_ARCH_X64 | 44 #ifdef V8_TARGET_ARCH_X64 |
45 // No X64-implementation yet. | 45 // No X64-implementation yet. |
46 #endif | 46 #endif |
47 #ifdef V8_TARGET_ARCH_IA32 | 47 #ifdef V8_TARGET_ARCH_IA32 |
48 #include "ia32/macro-assembler-ia32.h" | 48 #include "ia32/macro-assembler-ia32.h" |
(...skipping 1480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 CHECK(!InClass(i, excluded)); | 1529 CHECK(!InClass(i, excluded)); |
1530 } | 1530 } |
1531 } | 1531 } |
1532 } | 1532 } |
1533 | 1533 |
1534 | 1534 |
1535 TEST(Graph) { | 1535 TEST(Graph) { |
1536 V8::Initialize(NULL); | 1536 V8::Initialize(NULL); |
1537 Execute("(?:(?:x(.))?\1)+$", false, true, true); | 1537 Execute("(?:(?:x(.))?\1)+$", false, true, true); |
1538 } | 1538 } |
OLD | NEW |