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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_MIPS | 55 #if V8_TARGET_ARCH_MIPS |
56 #include "src/mips/assembler-mips.h" | 56 #include "src/mips/assembler-mips.h" |
57 #include "src/mips/macro-assembler-mips.h" | 57 #include "src/mips/macro-assembler-mips.h" |
58 #include "src/mips/regexp-macro-assembler-mips.h" | 58 #include "src/mips/regexp-macro-assembler-mips.h" |
59 #endif | 59 #endif |
| 60 #if V8_TARGET_ARCH_MIPS64 |
| 61 #include "src/mips64/assembler-mips64.h" |
| 62 #include "src/mips64/macro-assembler-mips64.h" |
| 63 #include "src/mips64/regexp-macro-assembler-mips64.h" |
| 64 #endif |
60 #if V8_TARGET_ARCH_X64 | 65 #if V8_TARGET_ARCH_X64 |
61 #include "src/x64/assembler-x64.h" | 66 #include "src/x64/assembler-x64.h" |
62 #include "src/x64/macro-assembler-x64.h" | 67 #include "src/x64/macro-assembler-x64.h" |
63 #include "src/x64/regexp-macro-assembler-x64.h" | 68 #include "src/x64/regexp-macro-assembler-x64.h" |
64 #endif | 69 #endif |
65 #if V8_TARGET_ARCH_IA32 | 70 #if V8_TARGET_ARCH_IA32 |
66 #include "src/ia32/assembler-ia32.h" | 71 #include "src/ia32/assembler-ia32.h" |
67 #include "src/ia32/macro-assembler-ia32.h" | 72 #include "src/ia32/macro-assembler-ia32.h" |
68 #include "src/ia32/regexp-macro-assembler-ia32.h" | 73 #include "src/ia32/regexp-macro-assembler-ia32.h" |
69 #endif | 74 #endif |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
696 #if V8_TARGET_ARCH_IA32 | 701 #if V8_TARGET_ARCH_IA32 |
697 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; | 702 typedef RegExpMacroAssemblerIA32 ArchRegExpMacroAssembler; |
698 #elif V8_TARGET_ARCH_X64 | 703 #elif V8_TARGET_ARCH_X64 |
699 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; | 704 typedef RegExpMacroAssemblerX64 ArchRegExpMacroAssembler; |
700 #elif V8_TARGET_ARCH_ARM | 705 #elif V8_TARGET_ARCH_ARM |
701 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; | 706 typedef RegExpMacroAssemblerARM ArchRegExpMacroAssembler; |
702 #elif V8_TARGET_ARCH_ARM64 | 707 #elif V8_TARGET_ARCH_ARM64 |
703 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; | 708 typedef RegExpMacroAssemblerARM64 ArchRegExpMacroAssembler; |
704 #elif V8_TARGET_ARCH_MIPS | 709 #elif V8_TARGET_ARCH_MIPS |
705 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; | 710 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
| 711 #elif V8_TARGET_ARCH_MIPS64 |
| 712 typedef RegExpMacroAssemblerMIPS ArchRegExpMacroAssembler; |
706 #elif V8_TARGET_ARCH_X87 | 713 #elif V8_TARGET_ARCH_X87 |
707 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; | 714 typedef RegExpMacroAssemblerX87 ArchRegExpMacroAssembler; |
708 #endif | 715 #endif |
709 | 716 |
710 class ContextInitializer { | 717 class ContextInitializer { |
711 public: | 718 public: |
712 ContextInitializer() | 719 ContextInitializer() |
713 : scope_(CcTest::isolate()), | 720 : scope_(CcTest::isolate()), |
714 env_(v8::Context::New(CcTest::isolate())) { | 721 env_(v8::Context::New(CcTest::isolate())) { |
715 env_->Enter(); | 722 env_->Enter(); |
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1811 ZoneList<CharacterRange> first_only(4, &zone); | 1818 ZoneList<CharacterRange> first_only(4, &zone); |
1812 ZoneList<CharacterRange> second_only(4, &zone); | 1819 ZoneList<CharacterRange> second_only(4, &zone); |
1813 ZoneList<CharacterRange> both(4, &zone); | 1820 ZoneList<CharacterRange> both(4, &zone); |
1814 } | 1821 } |
1815 | 1822 |
1816 | 1823 |
1817 TEST(Graph) { | 1824 TEST(Graph) { |
1818 V8::Initialize(NULL); | 1825 V8::Initialize(NULL); |
1819 Execute("\\b\\w+\\b", false, true, true); | 1826 Execute("\\b\\w+\\b", false, true, true); |
1820 } | 1827 } |
OLD | NEW |