OLD | NEW |
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. | 1 // Copyright (c) 1994-2006 Sun Microsystems Inc. |
2 // All Rights Reserved. | 2 // All Rights Reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // - Redistributions of source code must retain the above copyright notice, | 8 // - Redistributions of source code must retain the above copyright notice, |
9 // this list of conditions and the following disclaimer. | 9 // this list of conditions and the following disclaimer. |
10 // | 10 // |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 #elif V8_TARGET_ARCH_ARM64 | 70 #elif V8_TARGET_ARCH_ARM64 |
71 #include "src/arm64/assembler-arm64-inl.h" // NOLINT | 71 #include "src/arm64/assembler-arm64-inl.h" // NOLINT |
72 #elif V8_TARGET_ARCH_ARM | 72 #elif V8_TARGET_ARCH_ARM |
73 #include "src/arm/assembler-arm-inl.h" // NOLINT | 73 #include "src/arm/assembler-arm-inl.h" // NOLINT |
74 #elif V8_TARGET_ARCH_PPC | 74 #elif V8_TARGET_ARCH_PPC |
75 #include "src/ppc/assembler-ppc-inl.h" // NOLINT | 75 #include "src/ppc/assembler-ppc-inl.h" // NOLINT |
76 #elif V8_TARGET_ARCH_MIPS | 76 #elif V8_TARGET_ARCH_MIPS |
77 #include "src/mips/assembler-mips-inl.h" // NOLINT | 77 #include "src/mips/assembler-mips-inl.h" // NOLINT |
78 #elif V8_TARGET_ARCH_MIPS64 | 78 #elif V8_TARGET_ARCH_MIPS64 |
79 #include "src/mips64/assembler-mips64-inl.h" // NOLINT | 79 #include "src/mips64/assembler-mips64-inl.h" // NOLINT |
| 80 #elif V8_TARGET_ARCH_S390 |
| 81 #include "src/s390/assembler-s390-inl.h" // NOLINT |
80 #elif V8_TARGET_ARCH_X87 | 82 #elif V8_TARGET_ARCH_X87 |
81 #include "src/x87/assembler-x87-inl.h" // NOLINT | 83 #include "src/x87/assembler-x87-inl.h" // NOLINT |
82 #else | 84 #else |
83 #error "Unknown architecture." | 85 #error "Unknown architecture." |
84 #endif | 86 #endif |
85 | 87 |
86 // Include native regexp-macro-assembler. | 88 // Include native regexp-macro-assembler. |
87 #ifndef V8_INTERPRETED_REGEXP | 89 #ifndef V8_INTERPRETED_REGEXP |
88 #if V8_TARGET_ARCH_IA32 | 90 #if V8_TARGET_ARCH_IA32 |
89 #include "src/regexp/ia32/regexp-macro-assembler-ia32.h" // NOLINT | 91 #include "src/regexp/ia32/regexp-macro-assembler-ia32.h" // NOLINT |
90 #elif V8_TARGET_ARCH_X64 | 92 #elif V8_TARGET_ARCH_X64 |
91 #include "src/regexp/x64/regexp-macro-assembler-x64.h" // NOLINT | 93 #include "src/regexp/x64/regexp-macro-assembler-x64.h" // NOLINT |
92 #elif V8_TARGET_ARCH_ARM64 | 94 #elif V8_TARGET_ARCH_ARM64 |
93 #include "src/regexp/arm64/regexp-macro-assembler-arm64.h" // NOLINT | 95 #include "src/regexp/arm64/regexp-macro-assembler-arm64.h" // NOLINT |
94 #elif V8_TARGET_ARCH_ARM | 96 #elif V8_TARGET_ARCH_ARM |
95 #include "src/regexp/arm/regexp-macro-assembler-arm.h" // NOLINT | 97 #include "src/regexp/arm/regexp-macro-assembler-arm.h" // NOLINT |
96 #elif V8_TARGET_ARCH_PPC | 98 #elif V8_TARGET_ARCH_PPC |
97 #include "src/regexp/ppc/regexp-macro-assembler-ppc.h" // NOLINT | 99 #include "src/regexp/ppc/regexp-macro-assembler-ppc.h" // NOLINT |
98 #elif V8_TARGET_ARCH_MIPS | 100 #elif V8_TARGET_ARCH_MIPS |
99 #include "src/regexp/mips/regexp-macro-assembler-mips.h" // NOLINT | 101 #include "src/regexp/mips/regexp-macro-assembler-mips.h" // NOLINT |
100 #elif V8_TARGET_ARCH_MIPS64 | 102 #elif V8_TARGET_ARCH_MIPS64 |
101 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h" // NOLINT | 103 #include "src/regexp/mips64/regexp-macro-assembler-mips64.h" // NOLINT |
| 104 #elif V8_TARGET_ARCH_S390 |
| 105 #include "src/regexp/s390/regexp-macro-assembler-s390.h" // NOLINT |
102 #elif V8_TARGET_ARCH_X87 | 106 #elif V8_TARGET_ARCH_X87 |
103 #include "src/regexp/x87/regexp-macro-assembler-x87.h" // NOLINT | 107 #include "src/regexp/x87/regexp-macro-assembler-x87.h" // NOLINT |
104 #else // Unknown architecture. | 108 #else // Unknown architecture. |
105 #error "Unknown architecture." | 109 #error "Unknown architecture." |
106 #endif // Target architecture. | 110 #endif // Target architecture. |
107 #endif // V8_INTERPRETED_REGEXP | 111 #endif // V8_INTERPRETED_REGEXP |
108 | 112 |
109 namespace v8 { | 113 namespace v8 { |
110 namespace internal { | 114 namespace internal { |
111 | 115 |
(...skipping 1379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 #elif V8_TARGET_ARCH_ARM64 | 1495 #elif V8_TARGET_ARCH_ARM64 |
1492 function = FUNCTION_ADDR(RegExpMacroAssemblerARM64::CheckStackGuardState); | 1496 function = FUNCTION_ADDR(RegExpMacroAssemblerARM64::CheckStackGuardState); |
1493 #elif V8_TARGET_ARCH_ARM | 1497 #elif V8_TARGET_ARCH_ARM |
1494 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); | 1498 function = FUNCTION_ADDR(RegExpMacroAssemblerARM::CheckStackGuardState); |
1495 #elif V8_TARGET_ARCH_PPC | 1499 #elif V8_TARGET_ARCH_PPC |
1496 function = FUNCTION_ADDR(RegExpMacroAssemblerPPC::CheckStackGuardState); | 1500 function = FUNCTION_ADDR(RegExpMacroAssemblerPPC::CheckStackGuardState); |
1497 #elif V8_TARGET_ARCH_MIPS | 1501 #elif V8_TARGET_ARCH_MIPS |
1498 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); | 1502 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); |
1499 #elif V8_TARGET_ARCH_MIPS64 | 1503 #elif V8_TARGET_ARCH_MIPS64 |
1500 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); | 1504 function = FUNCTION_ADDR(RegExpMacroAssemblerMIPS::CheckStackGuardState); |
| 1505 #elif V8_TARGET_ARCH_S390 |
| 1506 function = FUNCTION_ADDR(RegExpMacroAssemblerS390::CheckStackGuardState); |
1501 #elif V8_TARGET_ARCH_X87 | 1507 #elif V8_TARGET_ARCH_X87 |
1502 function = FUNCTION_ADDR(RegExpMacroAssemblerX87::CheckStackGuardState); | 1508 function = FUNCTION_ADDR(RegExpMacroAssemblerX87::CheckStackGuardState); |
1503 #else | 1509 #else |
1504 UNREACHABLE(); | 1510 UNREACHABLE(); |
1505 #endif | 1511 #endif |
1506 return ExternalReference(Redirect(isolate, function)); | 1512 return ExternalReference(Redirect(isolate, function)); |
1507 } | 1513 } |
1508 | 1514 |
1509 | 1515 |
1510 ExternalReference ExternalReference::re_grow_stack(Isolate* isolate) { | 1516 ExternalReference ExternalReference::re_grow_stack(Isolate* isolate) { |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2027 | 2033 |
2028 | 2034 |
2029 void Assembler::DataAlign(int m) { | 2035 void Assembler::DataAlign(int m) { |
2030 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); | 2036 DCHECK(m >= 2 && base::bits::IsPowerOfTwo32(m)); |
2031 while ((pc_offset() & (m - 1)) != 0) { | 2037 while ((pc_offset() & (m - 1)) != 0) { |
2032 db(0); | 2038 db(0); |
2033 } | 2039 } |
2034 } | 2040 } |
2035 } // namespace internal | 2041 } // namespace internal |
2036 } // namespace v8 | 2042 } // namespace v8 |
OLD | NEW |