Chromium Code Reviews| 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 23 matching lines...) Expand all Loading... | |
| 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.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_INTERPRETED_REGEXP | 41 #ifdef V8_INTERPRETED_REGEXP |
| 42 #include "interpreter-irregexp.h" | 42 #include "interpreter-irregexp.h" |
| 43 #else // V8_INTERPRETED_REGEXP | 43 #else // V8_INTERPRETED_REGEXP |
| 44 #include "macro-assembler.h" | |
| 45 #include "code.h" | |
|
danno
2011/07/11 08:57:56
alphabetize
Sven Panne
2011/07/11 12:22:48
See related comment
| |
| 44 #ifdef V8_TARGET_ARCH_ARM | 46 #ifdef V8_TARGET_ARCH_ARM |
| 47 #include "arm/assembler-arm.h" | |
| 45 #include "arm/macro-assembler-arm.h" | 48 #include "arm/macro-assembler-arm.h" |
| 46 #include "arm/regexp-macro-assembler-arm.h" | 49 #include "arm/regexp-macro-assembler-arm.h" |
| 47 #endif | 50 #endif |
| 48 #ifdef V8_TARGET_ARCH_MIPS | 51 #ifdef V8_TARGET_ARCH_MIPS |
| 52 #include "mips/assembler-mips.h" | |
| 49 #include "mips/macro-assembler-mips.h" | 53 #include "mips/macro-assembler-mips.h" |
| 50 #include "mips/regexp-macro-assembler-mips.h" | 54 #include "mips/regexp-macro-assembler-mips.h" |
| 51 #endif | 55 #endif |
| 52 #ifdef V8_TARGET_ARCH_X64 | 56 #ifdef V8_TARGET_ARCH_X64 |
| 57 #include "x64/assembler-x64.h" | |
| 53 #include "x64/macro-assembler-x64.h" | 58 #include "x64/macro-assembler-x64.h" |
| 54 #include "x64/regexp-macro-assembler-x64.h" | 59 #include "x64/regexp-macro-assembler-x64.h" |
| 55 #endif | 60 #endif |
| 56 #ifdef V8_TARGET_ARCH_IA32 | 61 #ifdef V8_TARGET_ARCH_IA32 |
| 62 #include "ia32/assembler-ia32.h" | |
| 57 #include "ia32/macro-assembler-ia32.h" | 63 #include "ia32/macro-assembler-ia32.h" |
| 58 #include "ia32/regexp-macro-assembler-ia32.h" | 64 #include "ia32/regexp-macro-assembler-ia32.h" |
| 59 #endif | 65 #endif |
| 60 #endif // V8_INTERPRETED_REGEXP | 66 #endif // V8_INTERPRETED_REGEXP |
| 61 | 67 |
| 62 using namespace v8::internal; | 68 using namespace v8::internal; |
| 63 | 69 |
| 64 | 70 |
| 65 static bool CheckParse(const char* input) { | 71 static bool CheckParse(const char* input) { |
| 66 V8::Initialize(NULL); | 72 V8::Initialize(NULL); |
| (...skipping 1750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1817 bool in_second = CharacterInSet(&l2, i); | 1823 bool in_second = CharacterInSet(&l2, i); |
| 1818 CHECK((in_first || in_second) == CharacterInSet(&all, i)); | 1824 CHECK((in_first || in_second) == CharacterInSet(&all, i)); |
| 1819 } | 1825 } |
| 1820 } | 1826 } |
| 1821 | 1827 |
| 1822 | 1828 |
| 1823 TEST(Graph) { | 1829 TEST(Graph) { |
| 1824 V8::Initialize(NULL); | 1830 V8::Initialize(NULL); |
| 1825 Execute("\\b\\w+\\b", false, true, true); | 1831 Execute("\\b\\w+\\b", false, true, true); |
| 1826 } | 1832 } |
| OLD | NEW |