OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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_LITHIUM_ALLOCATOR_INL_H_ | 5 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_ |
6 #define V8_LITHIUM_ALLOCATOR_INL_H_ | 6 #define V8_LITHIUM_ALLOCATOR_INL_H_ |
7 | 7 |
8 #include "src/lithium-allocator.h" | 8 #include "src/lithium-allocator.h" |
9 | 9 |
10 #if V8_TARGET_ARCH_IA32 | 10 #if V8_TARGET_ARCH_IA32 |
11 #include "src/ia32/lithium-ia32.h" | 11 #include "src/ia32/lithium-ia32.h" // NOLINT |
12 #elif V8_TARGET_ARCH_X64 | 12 #elif V8_TARGET_ARCH_X64 |
13 #include "src/x64/lithium-x64.h" | 13 #include "src/x64/lithium-x64.h" // NOLINT |
14 #elif V8_TARGET_ARCH_ARM64 | 14 #elif V8_TARGET_ARCH_ARM64 |
15 #include "src/arm64/lithium-arm64.h" | 15 #include "src/arm64/lithium-arm64.h" // NOLINT |
16 #elif V8_TARGET_ARCH_ARM | 16 #elif V8_TARGET_ARCH_ARM |
17 #include "src/arm/lithium-arm.h" | 17 #include "src/arm/lithium-arm.h" // NOLINT |
18 #elif V8_TARGET_ARCH_MIPS | 18 #elif V8_TARGET_ARCH_MIPS |
19 #include "src/mips/lithium-mips.h" | 19 #include "src/mips/lithium-mips.h" // NOLINT |
20 #elif V8_TARGET_ARCH_X87 | 20 #elif V8_TARGET_ARCH_X87 |
21 #include "src/x87/lithium-x87.h" | 21 #include "src/x87/lithium-x87.h" // NOLINT |
22 #else | 22 #else |
23 #error "Unknown architecture." | 23 #error "Unknown architecture." |
24 #endif | 24 #endif |
25 | 25 |
26 namespace v8 { | 26 namespace v8 { |
27 namespace internal { | 27 namespace internal { |
28 | 28 |
29 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } | 29 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } |
30 | 30 |
31 | 31 |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 ASSERT(range->Kind() == GENERAL_REGISTERS); | 133 ASSERT(range->Kind() == GENERAL_REGISTERS); |
134 assigned_registers_->Add(reg); | 134 assigned_registers_->Add(reg); |
135 } | 135 } |
136 range->set_assigned_register(reg, chunk()->zone()); | 136 range->set_assigned_register(reg, chunk()->zone()); |
137 } | 137 } |
138 | 138 |
139 | 139 |
140 } } // namespace v8::internal | 140 } } // namespace v8::internal |
141 | 141 |
142 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ | 142 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ |
OLD | NEW |