Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: src/lithium-codegen.cc

Issue 293743005: Introduce x87 port (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: rebase Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/lithium-allocator-inl.h ('k') | src/log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "v8.h" 5 #include "v8.h"
6 6
7 #include "lithium-codegen.h" 7 #include "lithium-codegen.h"
8 8
9 #if V8_TARGET_ARCH_IA32 9 #if V8_TARGET_ARCH_IA32
10 #include "ia32/lithium-ia32.h" 10 #include "ia32/lithium-ia32.h"
11 #include "ia32/lithium-codegen-ia32.h" 11 #include "ia32/lithium-codegen-ia32.h"
12 #elif V8_TARGET_ARCH_X64 12 #elif V8_TARGET_ARCH_X64
13 #include "x64/lithium-x64.h" 13 #include "x64/lithium-x64.h"
14 #include "x64/lithium-codegen-x64.h" 14 #include "x64/lithium-codegen-x64.h"
15 #elif V8_TARGET_ARCH_ARM 15 #elif V8_TARGET_ARCH_ARM
16 #include "arm/lithium-arm.h" 16 #include "arm/lithium-arm.h"
17 #include "arm/lithium-codegen-arm.h" 17 #include "arm/lithium-codegen-arm.h"
18 #elif V8_TARGET_ARCH_ARM64 18 #elif V8_TARGET_ARCH_ARM64
19 #include "arm64/lithium-arm64.h" 19 #include "arm64/lithium-arm64.h"
20 #include "arm64/lithium-codegen-arm64.h" 20 #include "arm64/lithium-codegen-arm64.h"
21 #elif V8_TARGET_ARCH_MIPS 21 #elif V8_TARGET_ARCH_MIPS
22 #include "mips/lithium-mips.h" 22 #include "mips/lithium-mips.h"
23 #include "mips/lithium-codegen-mips.h" 23 #include "mips/lithium-codegen-mips.h"
24 #elif V8_TARGET_ARCH_X87
25 #include "x87/lithium-x87.h"
26 #include "x87/lithium-codegen-x87.h"
24 #else 27 #else
25 #error Unsupported target architecture. 28 #error Unsupported target architecture.
26 #endif 29 #endif
27 30
28 namespace v8 { 31 namespace v8 {
29 namespace internal { 32 namespace internal {
30 33
31 34
32 HGraph* LCodeGenBase::graph() const { 35 HGraph* LCodeGenBase::graph() const {
33 return chunk()->graph(); 36 return chunk()->graph();
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 chunk_->AddDeprecationDependency(map); 224 chunk_->AddDeprecationDependency(map);
222 } 225 }
223 226
224 227
225 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) { 228 void LCodeGenBase::AddStabilityDependency(Handle<Map> map) {
226 if (!map->is_stable()) return Abort(kMapBecameUnstable); 229 if (!map->is_stable()) return Abort(kMapBecameUnstable);
227 chunk_->AddStabilityDependency(map); 230 chunk_->AddStabilityDependency(map);
228 } 231 }
229 232
230 } } // namespace v8::internal 233 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium-allocator-inl.h ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698