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 "src/v8.h" |
6 | 6 |
7 #include "double.h" | 7 #include "src/double.h" |
8 #include "factory.h" | 8 #include "src/factory.h" |
9 #include "hydrogen-infer-representation.h" | 9 #include "src/hydrogen-infer-representation.h" |
10 #include "property-details-inl.h" | 10 #include "src/property-details-inl.h" |
11 | 11 |
12 #if V8_TARGET_ARCH_IA32 | 12 #if V8_TARGET_ARCH_IA32 |
13 #include "ia32/lithium-ia32.h" | 13 #include "src/ia32/lithium-ia32.h" |
14 #elif V8_TARGET_ARCH_X64 | 14 #elif V8_TARGET_ARCH_X64 |
15 #include "x64/lithium-x64.h" | 15 #include "src/x64/lithium-x64.h" |
16 #elif V8_TARGET_ARCH_ARM64 | 16 #elif V8_TARGET_ARCH_ARM64 |
17 #include "arm64/lithium-arm64.h" | 17 #include "src/arm64/lithium-arm64.h" |
18 #elif V8_TARGET_ARCH_ARM | 18 #elif V8_TARGET_ARCH_ARM |
19 #include "arm/lithium-arm.h" | 19 #include "src/arm/lithium-arm.h" |
20 #elif V8_TARGET_ARCH_MIPS | 20 #elif V8_TARGET_ARCH_MIPS |
21 #include "mips/lithium-mips.h" | 21 #include "src/mips/lithium-mips.h" |
22 #elif V8_TARGET_ARCH_X87 | 22 #elif V8_TARGET_ARCH_X87 |
23 #include "x87/lithium-x87.h" | 23 #include "src/x87/lithium-x87.h" |
24 #else | 24 #else |
25 #error Unsupported target architecture. | 25 #error Unsupported target architecture. |
26 #endif | 26 #endif |
27 | 27 |
28 namespace v8 { | 28 namespace v8 { |
29 namespace internal { | 29 namespace internal { |
30 | 30 |
31 #define DEFINE_COMPILE(type) \ | 31 #define DEFINE_COMPILE(type) \ |
32 LInstruction* H##type::CompileToLithium(LChunkBuilder* builder) { \ | 32 LInstruction* H##type::CompileToLithium(LChunkBuilder* builder) { \ |
33 return builder->Do##type(this); \ | 33 return builder->Do##type(this); \ |
(...skipping 4712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4746 break; | 4746 break; |
4747 case kExternalMemory: | 4747 case kExternalMemory: |
4748 stream->Add("[external-memory]"); | 4748 stream->Add("[external-memory]"); |
4749 break; | 4749 break; |
4750 } | 4750 } |
4751 | 4751 |
4752 stream->Add("@%d", offset()); | 4752 stream->Add("@%d", offset()); |
4753 } | 4753 } |
4754 | 4754 |
4755 } } // namespace v8::internal | 4755 } } // namespace v8::internal |
OLD | NEW |