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 |
7 #include "src/double.h" | 7 #include "src/double.h" |
8 #include "src/factory.h" | 8 #include "src/factory.h" |
9 #include "src/hydrogen-infer-representation.h" | 9 #include "src/hydrogen-infer-representation.h" |
10 #include "src/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 "src/ia32/lithium-ia32.h" | 13 #include "src/ia32/lithium-ia32.h" // NOLINT |
14 #elif V8_TARGET_ARCH_X64 | 14 #elif V8_TARGET_ARCH_X64 |
15 #include "src/x64/lithium-x64.h" | 15 #include "src/x64/lithium-x64.h" // NOLINT |
16 #elif V8_TARGET_ARCH_ARM64 | 16 #elif V8_TARGET_ARCH_ARM64 |
17 #include "src/arm64/lithium-arm64.h" | 17 #include "src/arm64/lithium-arm64.h" // NOLINT |
18 #elif V8_TARGET_ARCH_ARM | 18 #elif V8_TARGET_ARCH_ARM |
19 #include "src/arm/lithium-arm.h" | 19 #include "src/arm/lithium-arm.h" // NOLINT |
20 #elif V8_TARGET_ARCH_MIPS | 20 #elif V8_TARGET_ARCH_MIPS |
21 #include "src/mips/lithium-mips.h" | 21 #include "src/mips/lithium-mips.h" // NOLINT |
22 #elif V8_TARGET_ARCH_X87 | 22 #elif V8_TARGET_ARCH_X87 |
23 #include "src/x87/lithium-x87.h" | 23 #include "src/x87/lithium-x87.h" // NOLINT |
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 4805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4839 break; | 4839 break; |
4840 case kExternalMemory: | 4840 case kExternalMemory: |
4841 stream->Add("[external-memory]"); | 4841 stream->Add("[external-memory]"); |
4842 break; | 4842 break; |
4843 } | 4843 } |
4844 | 4844 |
4845 stream->Add("@%d", offset()); | 4845 stream->Add("@%d", offset()); |
4846 } | 4846 } |
4847 | 4847 |
4848 } } // namespace v8::internal | 4848 } } // namespace v8::internal |
OLD | NEW |