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