OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/crankshaft/hydrogen-instructions.h" | 5 #include "src/crankshaft/hydrogen-instructions.h" |
6 | 6 |
7 #include "src/base/bits.h" | 7 #include "src/base/bits.h" |
8 #include "src/base/safe_math.h" | 8 #include "src/base/safe_math.h" |
9 #include "src/crankshaft/hydrogen-infer-representation.h" | 9 #include "src/crankshaft/hydrogen-infer-representation.h" |
10 #include "src/double.h" | 10 #include "src/double.h" |
11 #include "src/elements.h" | 11 #include "src/elements.h" |
12 #include "src/factory.h" | 12 #include "src/factory.h" |
13 | 13 |
14 #if V8_TARGET_ARCH_IA32 | 14 #if V8_TARGET_ARCH_IA32 |
15 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT | 15 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT |
16 #elif V8_TARGET_ARCH_X64 | 16 #elif V8_TARGET_ARCH_X64 |
17 #include "src/crankshaft/x64/lithium-x64.h" // NOLINT | 17 #include "src/crankshaft/x64/lithium-x64.h" // NOLINT |
18 #elif V8_TARGET_ARCH_ARM64 | 18 #elif V8_TARGET_ARCH_ARM64 |
19 #include "src/crankshaft/arm64/lithium-arm64.h" // NOLINT | 19 #include "src/crankshaft/arm64/lithium-arm64.h" // NOLINT |
20 #elif V8_TARGET_ARCH_ARM | 20 #elif V8_TARGET_ARCH_ARM |
21 #include "src/crankshaft/arm/lithium-arm.h" // NOLINT | 21 #include "src/crankshaft/arm/lithium-arm.h" // NOLINT |
22 #elif V8_TARGET_ARCH_PPC | 22 #elif V8_TARGET_ARCH_PPC |
23 #include "src/crankshaft/ppc/lithium-ppc.h" // NOLINT | 23 #include "src/crankshaft/ppc/lithium-ppc.h" // NOLINT |
24 #elif V8_TARGET_ARCH_MIPS | 24 #elif V8_TARGET_ARCH_MIPS |
25 #include "src/crankshaft/mips/lithium-mips.h" // NOLINT | 25 #include "src/crankshaft/mips/lithium-mips.h" // NOLINT |
26 #elif V8_TARGET_ARCH_MIPS64 | 26 #elif V8_TARGET_ARCH_MIPS64 |
27 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT | 27 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT |
| 28 #elif V8_TARGET_ARCH_S390 |
| 29 #include "src/crankshaft/s390/lithium-s390.h" // NOLINT |
28 #elif V8_TARGET_ARCH_X87 | 30 #elif V8_TARGET_ARCH_X87 |
29 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT | 31 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT |
30 #else | 32 #else |
31 #error Unsupported target architecture. | 33 #error Unsupported target architecture. |
32 #endif | 34 #endif |
33 | 35 |
34 namespace v8 { | 36 namespace v8 { |
35 namespace internal { | 37 namespace internal { |
36 | 38 |
37 #define DEFINE_COMPILE(type) \ | 39 #define DEFINE_COMPILE(type) \ |
(...skipping 4582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4620 case HObjectAccess::kExternalMemory: | 4622 case HObjectAccess::kExternalMemory: |
4621 os << "[external-memory]"; | 4623 os << "[external-memory]"; |
4622 break; | 4624 break; |
4623 } | 4625 } |
4624 | 4626 |
4625 return os << "@" << access.offset(); | 4627 return os << "@" << access.offset(); |
4626 } | 4628 } |
4627 | 4629 |
4628 } // namespace internal | 4630 } // namespace internal |
4629 } // namespace v8 | 4631 } // namespace v8 |
OLD | NEW |