OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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/lithium-codegen.h" | 7 #include "src/lithium-codegen.h" |
8 | 8 |
9 #if V8_TARGET_ARCH_IA32 | 9 #if V8_TARGET_ARCH_IA32 |
10 #include "src/ia32/lithium-ia32.h" // NOLINT | 10 #include "src/ia32/lithium-ia32.h" // NOLINT |
11 #include "src/ia32/lithium-codegen-ia32.h" // NOLINT | 11 #include "src/ia32/lithium-codegen-ia32.h" // NOLINT |
12 #elif V8_TARGET_ARCH_X64 | 12 #elif V8_TARGET_ARCH_X64 |
13 #include "src/x64/lithium-x64.h" // NOLINT | 13 #include "src/x64/lithium-x64.h" // NOLINT |
14 #include "src/x64/lithium-codegen-x64.h" // NOLINT | 14 #include "src/x64/lithium-codegen-x64.h" // NOLINT |
15 #elif V8_TARGET_ARCH_ARM | 15 #elif V8_TARGET_ARCH_ARM |
16 #include "src/arm/lithium-arm.h" // NOLINT | 16 #include "src/arm/lithium-arm.h" // NOLINT |
17 #include "src/arm/lithium-codegen-arm.h" // NOLINT | 17 #include "src/arm/lithium-codegen-arm.h" // NOLINT |
18 #elif V8_TARGET_ARCH_ARM64 | 18 #elif V8_TARGET_ARCH_ARM64 |
19 #include "src/arm64/lithium-arm64.h" // NOLINT | 19 #include "src/arm64/lithium-arm64.h" // NOLINT |
20 #include "src/arm64/lithium-codegen-arm64.h" // NOLINT | 20 #include "src/arm64/lithium-codegen-arm64.h" // NOLINT |
21 #elif V8_TARGET_ARCH_MIPS | 21 #elif V8_TARGET_ARCH_MIPS |
22 #include "src/mips/lithium-mips.h" // NOLINT | 22 #include "src/mips/lithium-mips.h" // NOLINT |
23 #include "src/mips/lithium-codegen-mips.h" // NOLINT | 23 #include "src/mips/lithium-codegen-mips.h" // NOLINT |
| 24 #elif V8_TARGET_ARCH_MIPS64 |
| 25 #include "src/mips64/lithium-mips64.h" // NOLINT |
| 26 #include "src/mips64/lithium-codegen-mips64.h" // NOLINT |
24 #elif V8_TARGET_ARCH_X87 | 27 #elif V8_TARGET_ARCH_X87 |
25 #include "src/x87/lithium-x87.h" // NOLINT | 28 #include "src/x87/lithium-x87.h" // NOLINT |
26 #include "src/x87/lithium-codegen-x87.h" // NOLINT | 29 #include "src/x87/lithium-codegen-x87.h" // NOLINT |
27 #else | 30 #else |
28 #error Unsupported target architecture. | 31 #error Unsupported target architecture. |
29 #endif | 32 #endif |
30 | 33 |
31 namespace v8 { | 34 namespace v8 { |
32 namespace internal { | 35 namespace internal { |
33 | 36 |
(...skipping 190 matching lines...) Loading... |
224 chunk_->AddDeprecationDependency(map); | 227 chunk_->AddDeprecationDependency(map); |
225 } | 228 } |
226 | 229 |
227 | 230 |
228 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { | 231 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { |
229 if (!map->is_stable()) return Abort(kMapBecameUnstable); | 232 if (!map->is_stable()) return Abort(kMapBecameUnstable); |
230 chunk_->AddStabilityDependency(map); | 233 chunk_->AddStabilityDependency(map); |
231 } | 234 } |
232 | 235 |
233 } } // namespace v8::internal | 236 } } // namespace v8::internal |
OLD | NEW |