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/v8.h" | 5 #include "src/v8.h" |
6 #include "src/lithium-allocator-inl.h" | |
7 | 6 |
8 #include "src/hydrogen.h" | 7 #include "src/hydrogen.h" |
| 8 #include "src/lithium-allocator-inl.h" |
9 #include "src/string-stream.h" | 9 #include "src/string-stream.h" |
10 | 10 |
11 #if V8_TARGET_ARCH_IA32 | 11 #if V8_TARGET_ARCH_IA32 |
12 #include "src/ia32/lithium-ia32.h" | 12 #include "src/ia32/lithium-ia32.h" // NOLINT |
13 #elif V8_TARGET_ARCH_X64 | 13 #elif V8_TARGET_ARCH_X64 |
14 #include "src/x64/lithium-x64.h" | 14 #include "src/x64/lithium-x64.h" // NOLINT |
15 #elif V8_TARGET_ARCH_ARM64 | 15 #elif V8_TARGET_ARCH_ARM64 |
16 #include "src/arm64/lithium-arm64.h" | 16 #include "src/arm64/lithium-arm64.h" // NOLINT |
17 #elif V8_TARGET_ARCH_ARM | 17 #elif V8_TARGET_ARCH_ARM |
18 #include "src/arm/lithium-arm.h" | 18 #include "src/arm/lithium-arm.h" // NOLINT |
19 #elif V8_TARGET_ARCH_MIPS | 19 #elif V8_TARGET_ARCH_MIPS |
20 #include "src/mips/lithium-mips.h" | 20 #include "src/mips/lithium-mips.h" // NOLINT |
21 #elif V8_TARGET_ARCH_X87 | 21 #elif V8_TARGET_ARCH_X87 |
22 #include "src/x87/lithium-x87.h" | 22 #include "src/x87/lithium-x87.h" // NOLINT |
23 #else | 23 #else |
24 #error "Unknown architecture." | 24 #error "Unknown architecture." |
25 #endif | 25 #endif |
26 | 26 |
27 namespace v8 { | 27 namespace v8 { |
28 namespace internal { | 28 namespace internal { |
29 | 29 |
30 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { | 30 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { |
31 return a.Value() < b.Value() ? a : b; | 31 return a.Value() < b.Value() ? a : b; |
32 } | 32 } |
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2200 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_); | 2200 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_); |
2201 } | 2201 } |
2202 | 2202 |
2203 #ifdef DEBUG | 2203 #ifdef DEBUG |
2204 if (allocator_ != NULL) allocator_->Verify(); | 2204 if (allocator_ != NULL) allocator_->Verify(); |
2205 #endif | 2205 #endif |
2206 } | 2206 } |
2207 | 2207 |
2208 | 2208 |
2209 } } // namespace v8::internal | 2209 } } // namespace v8::internal |
OLD | NEW |