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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #if V8_TARGET_ARCH_ARM | 46 #if V8_TARGET_ARCH_ARM |
47 #include "src/arm/assembler-arm.h" // NOLINT | 47 #include "src/arm/assembler-arm.h" // NOLINT |
48 #include "src/arm/macro-assembler-arm.h" | 48 #include "src/arm/macro-assembler-arm.h" |
49 #include "src/arm/regexp-macro-assembler-arm.h" | 49 #include "src/arm/regexp-macro-assembler-arm.h" |
50 #endif | 50 #endif |
51 #if V8_TARGET_ARCH_ARM64 | 51 #if V8_TARGET_ARCH_ARM64 |
52 #include "src/arm64/assembler-arm64.h" | 52 #include "src/arm64/assembler-arm64.h" |
53 #include "src/arm64/macro-assembler-arm64.h" | 53 #include "src/arm64/macro-assembler-arm64.h" |
54 #include "src/arm64/regexp-macro-assembler-arm64.h" | 54 #include "src/arm64/regexp-macro-assembler-arm64.h" |
55 #endif | 55 #endif |
| 56 #if V8_TARGET_ARCH_PPC |
| 57 #include "src/ppc/assembler-ppc.h" |
| 58 #include "src/ppc/macro-assembler-ppc.h" |
| 59 #include "src/ppc/regexp-macro-assembler-ppc.h" |
| 60 #endif |
56 #if V8_TARGET_ARCH_MIPS | 61 #if V8_TARGET_ARCH_MIPS |
57 #include "src/mips/assembler-mips.h" | 62 #include "src/mips/assembler-mips.h" |
58 #include "src/mips/macro-assembler-mips.h" | 63 #include "src/mips/macro-assembler-mips.h" |
59 #include "src/mips/regexp-macro-assembler-mips.h" | 64 #include "src/mips/regexp-macro-assembler-mips.h" |
60 #endif | 65 #endif |
61 #if V8_TARGET_ARCH_MIPS64 | 66 #if V8_TARGET_ARCH_MIPS64 |
62 #include "src/mips64/assembler-mips64.h" | 67 #include "src/mips64/assembler-mips64.h" |
63 #include "src/mips64/macro-assembler-mips64.h" | 68 #include "src/mips64/macro-assembler-mips64.h" |
64 #include "src/mips64/regexp-macro-assembler-mips64.h" | 69 #include "src/mips64/regexp-macro-assembler-mips64.h" |
65 #endif | 70 #endif |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 #ifndef V8_INTERPRETED_REGEXP | 705 #ifndef V8_INTERPRETED_REGEXP |
701 | 706 |
702 #if V8_TARGET_ARCH_IA32 | 707 #if V8_TARGET_ARCH_IA32 |
703 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; | 708 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; |
704 #elif V8_TARGET_ARCH_X64 | 709 #elif V8_TARGET_ARCH_X64 |
705 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; | 710 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; |
706 #elif V8_TARGET_ARCH_ARM | 711 #elif V8_TARGET_ARCH_ARM |
707 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; | 712 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; |
708 #elif V8_TARGET_ARCH_ARM64 | 713 #elif V8_TARGET_ARCH_ARM64 |
709 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; | 714 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; |
| 715 #elif V8_TARGET_ARCH_PPC |
| 716 typedef RegExpMacroAssemblerPPC ArchRegExpMacroAssembler; |
710 #elif V8_TARGET_ARCH_MIPS | 717 #elif V8_TARGET_ARCH_MIPS |
711 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; | 718 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
712 #elif V8_TARGET_ARCH_MIPS64 | 719 #elif V8_TARGET_ARCH_MIPS64 |
713 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; | 720 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
714 #elif V8_TARGET_ARCH_X87 | 721 #elif V8_TARGET_ARCH_X87 |
715 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; | 722 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; |
716 #endif | 723 #endif |
717 | 724 |
718 class ContextInitializer { | 725 class ContextInitializer { |
719 public: | 726 public: |
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1819 ZoneList<CharacterRange> first_only(4, &zone); | 1826 ZoneList<CharacterRange> first_only(4, &zone); |
1820 ZoneList<CharacterRange> second_only(4, &zone); | 1827 ZoneList<CharacterRange> second_only(4, &zone); |
1821 ZoneList<CharacterRange> both(4, &zone); | 1828 ZoneList<CharacterRange> both(4, &zone); |
1822 } | 1829 } |
1823 | 1830 |
1824 | 1831 |
1825 TEST(Graph) { | 1832 TEST(Graph) { |
1826 V8::Initialize(NULL); | 1833 V8::Initialize(NULL); |
1827 Execute("\\b\\w+\\b", false, true, true); | 1834 Execute("\\b\\w+\\b", false, true, true); |
1828 } | 1835 } |
OLD | NEW |