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 #ifndef V8_CRANKSHAFT_LITHIUM_INL_H_ | 5 #ifndef V8_CRANKSHAFT_LITHIUM_INL_H_ |
6 #define V8_CRANKSHAFT_LITHIUM_INL_H_ | 6 #define V8_CRANKSHAFT_LITHIUM_INL_H_ |
7 | 7 |
8 #include "src/crankshaft/lithium.h" | 8 #include "src/crankshaft/lithium.h" |
9 | 9 |
10 #if V8_TARGET_ARCH_IA32 | 10 #if V8_TARGET_ARCH_IA32 |
11 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT | 11 #include "src/crankshaft/ia32/lithium-ia32.h" // NOLINT |
12 #elif V8_TARGET_ARCH_X64 | 12 #elif V8_TARGET_ARCH_X64 |
13 #include "src/crankshaft/x64/lithium-x64.h" // NOLINT | 13 #include "src/crankshaft/x64/lithium-x64.h" // NOLINT |
14 #elif V8_TARGET_ARCH_ARM64 | 14 #elif V8_TARGET_ARCH_ARM64 |
15 #include "src/crankshaft/arm64/lithium-arm64.h" // NOLINT | 15 #include "src/crankshaft/arm64/lithium-arm64.h" // NOLINT |
16 #elif V8_TARGET_ARCH_ARM | 16 #elif V8_TARGET_ARCH_ARM |
17 #include "src/crankshaft/arm/lithium-arm.h" // NOLINT | 17 #include "src/crankshaft/arm/lithium-arm.h" // NOLINT |
18 #elif V8_TARGET_ARCH_MIPS | 18 #elif V8_TARGET_ARCH_MIPS |
19 #include "src/crankshaft/mips/lithium-mips.h" // NOLINT | 19 #include "src/crankshaft/mips/lithium-mips.h" // NOLINT |
20 #elif V8_TARGET_ARCH_MIPS64 | 20 #elif V8_TARGET_ARCH_MIPS64 |
21 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT | 21 #include "src/crankshaft/mips64/lithium-mips64.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_S390 |
| 25 #include "src/crankshaft/s390/lithium-s390.h" // NOLINT |
24 #elif V8_TARGET_ARCH_X87 | 26 #elif V8_TARGET_ARCH_X87 |
25 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT | 27 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT |
26 #else | 28 #else |
27 #error "Unknown architecture." | 29 #error "Unknown architecture." |
28 #endif | 30 #endif |
29 | 31 |
30 namespace v8 { | 32 namespace v8 { |
31 namespace internal { | 33 namespace internal { |
32 | 34 |
33 TempIterator::TempIterator(LInstruction* instr) | 35 TempIterator::TempIterator(LInstruction* instr) |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 } | 107 } |
106 | 108 |
107 | 109 |
108 void UseIterator::Advance() { | 110 void UseIterator::Advance() { |
109 input_iterator_.Done() ? env_iterator_.Advance() : input_iterator_.Advance(); | 111 input_iterator_.Done() ? env_iterator_.Advance() : input_iterator_.Advance(); |
110 } | 112 } |
111 } // namespace internal | 113 } // namespace internal |
112 } // namespace v8 | 114 } // namespace v8 |
113 | 115 |
114 #endif // V8_CRANKSHAFT_LITHIUM_INL_H_ | 116 #endif // V8_CRANKSHAFT_LITHIUM_INL_H_ |
OLD | NEW |