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 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 #ifndef V8_INTERPRETED_REGEXP | 684 #ifndef V8_INTERPRETED_REGEXP |
680 | 685 |
681 #if V8_TARGET_ARCH_IA32 | 686 #if V8_TARGET_ARCH_IA32 |
682 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; | 687 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; |
683 #elif V8_TARGET_ARCH_X64 | 688 #elif V8_TARGET_ARCH_X64 |
684 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; | 689 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; |
685 #elif V8_TARGET_ARCH_ARM | 690 #elif V8_TARGET_ARCH_ARM |
686 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; | 691 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; |
687 #elif V8_TARGET_ARCH_ARM64 | 692 #elif V8_TARGET_ARCH_ARM64 |
688 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; | 693 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; |
| 694 #elif V8_TARGET_ARCH_PPC |
| 695 typedef RegExpMacroAssemblerPPC ArchRegExpMacroAssembler; |
689 #elif V8_TARGET_ARCH_MIPS | 696 #elif V8_TARGET_ARCH_MIPS |
690 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; | 697 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
691 #elif V8_TARGET_ARCH_MIPS64 | 698 #elif V8_TARGET_ARCH_MIPS64 |
692 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; | 699 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
693 #elif V8_TARGET_ARCH_X87 | 700 #elif V8_TARGET_ARCH_X87 |
694 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; | 701 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; |
695 #endif | 702 #endif |
696 | 703 |
697 class ContextInitializer { | 704 class ContextInitializer { |
698 public: | 705 public: |
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1786 | 1793 |
1787 ZoneList<CharacterRange> first_only(4, &zone); | 1794 ZoneList<CharacterRange> first_only(4, &zone); |
1788 ZoneList<CharacterRange> second_only(4, &zone); | 1795 ZoneList<CharacterRange> second_only(4, &zone); |
1789 ZoneList<CharacterRange> both(4, &zone); | 1796 ZoneList<CharacterRange> both(4, &zone); |
1790 } | 1797 } |
1791 | 1798 |
1792 | 1799 |
1793 TEST(Graph) { | 1800 TEST(Graph) { |
1794 Execute("\\b\\w+\\b", false, true, true); | 1801 Execute("\\b\\w+\\b", false, true, true); |
1795 } | 1802 } |
OLD | NEW |