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 |
6 #include "src/lithium.h" | 7 #include "src/lithium.h" |
7 #include "src/scopes.h" | 8 #include "src/scopes.h" |
8 #include "src/serialize.h" | 9 #include "src/serialize.h" |
9 | 10 |
10 #if V8_TARGET_ARCH_IA32 | 11 #if V8_TARGET_ARCH_IA32 |
11 #include "src/ia32/lithium-ia32.h" | 12 #include "src/ia32/lithium-ia32.h" // NOLINT |
12 #include "src/ia32/lithium-codegen-ia32.h" | 13 #include "src/ia32/lithium-codegen-ia32.h" // NOLINT |
13 #elif V8_TARGET_ARCH_X64 | 14 #elif V8_TARGET_ARCH_X64 |
14 #include "src/x64/lithium-x64.h" | 15 #include "src/x64/lithium-x64.h" // NOLINT |
15 #include "src/x64/lithium-codegen-x64.h" | 16 #include "src/x64/lithium-codegen-x64.h" // NOLINT |
16 #elif V8_TARGET_ARCH_ARM | 17 #elif V8_TARGET_ARCH_ARM |
17 #include "src/arm/lithium-arm.h" | 18 #include "src/arm/lithium-arm.h" // NOLINT |
18 #include "src/arm/lithium-codegen-arm.h" | 19 #include "src/arm/lithium-codegen-arm.h" // NOLINT |
19 #elif V8_TARGET_ARCH_MIPS | 20 #elif V8_TARGET_ARCH_MIPS |
20 #include "src/mips/lithium-mips.h" | 21 #include "src/mips/lithium-mips.h" // NOLINT |
21 #include "src/mips/lithium-codegen-mips.h" | 22 #include "src/mips/lithium-codegen-mips.h" // NOLINT |
22 #elif V8_TARGET_ARCH_ARM64 | 23 #elif V8_TARGET_ARCH_ARM64 |
23 #include "src/arm64/lithium-arm64.h" | 24 #include "src/arm64/lithium-arm64.h" // NOLINT |
24 #include "src/arm64/lithium-codegen-arm64.h" | 25 #include "src/arm64/lithium-codegen-arm64.h" // NOLINT |
25 #elif V8_TARGET_ARCH_X87 | 26 #elif V8_TARGET_ARCH_X87 |
26 #include "src/x87/lithium-x87.h" | 27 #include "src/x87/lithium-x87.h" // NOLINT |
27 #include "src/x87/lithium-codegen-x87.h" | 28 #include "src/x87/lithium-codegen-x87.h" // NOLINT |
28 #else | 29 #else |
29 #error "Unknown architecture." | 30 #error "Unknown architecture." |
30 #endif | 31 #endif |
31 | 32 |
32 namespace v8 { | 33 namespace v8 { |
33 namespace internal { | 34 namespace internal { |
34 | 35 |
35 | 36 |
36 void LOperand::PrintTo(StringStream* stream) { | 37 void LOperand::PrintTo(StringStream* stream) { |
37 LUnallocated* unalloc = NULL; | 38 LUnallocated* unalloc = NULL; |
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
613 | 614 |
614 | 615 |
615 LPhase::~LPhase() { | 616 LPhase::~LPhase() { |
616 if (ShouldProduceTraceOutput()) { | 617 if (ShouldProduceTraceOutput()) { |
617 isolate()->GetHTracer()->TraceLithium(name(), chunk_); | 618 isolate()->GetHTracer()->TraceLithium(name(), chunk_); |
618 } | 619 } |
619 } | 620 } |
620 | 621 |
621 | 622 |
622 } } // namespace v8::internal | 623 } } // namespace v8::internal |
OLD | NEW |