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