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