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

Side by Side Diff: src/lithium-allocator-inl.h

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.cc ('k') | src/lithium-codegen.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_ 5 #ifndef V8_LITHIUM_ALLOCATOR_INL_H_
6 #define V8_LITHIUM_ALLOCATOR_INL_H_ 6 #define V8_LITHIUM_ALLOCATOR_INL_H_
7 7
8 #include "lithium-allocator.h" 8 #include "lithium-allocator.h"
9 9
10 #if V8_TARGET_ARCH_IA32 10 #if V8_TARGET_ARCH_IA32
11 #include "ia32/lithium-ia32.h" 11 #include "ia32/lithium-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 #elif V8_TARGET_ARCH_ARM64 14 #elif V8_TARGET_ARCH_ARM64
15 #include "arm64/lithium-arm64.h" 15 #include "arm64/lithium-arm64.h"
16 #elif V8_TARGET_ARCH_ARM 16 #elif V8_TARGET_ARCH_ARM
17 #include "arm/lithium-arm.h" 17 #include "arm/lithium-arm.h"
18 #elif V8_TARGET_ARCH_MIPS 18 #elif V8_TARGET_ARCH_MIPS
19 #include "mips/lithium-mips.h" 19 #include "mips/lithium-mips.h"
20 #elif V8_TARGET_ARCH_X87
21 #include "x87/lithium-x87.h"
20 #else 22 #else
21 #error "Unknown architecture." 23 #error "Unknown architecture."
22 #endif 24 #endif
23 25
24 namespace v8 { 26 namespace v8 {
25 namespace internal { 27 namespace internal {
26 28
27 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } 29 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); }
28 30
29 31
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ASSERT(range->Kind() == GENERAL_REGISTERS); 133 ASSERT(range->Kind() == GENERAL_REGISTERS);
132 assigned_registers_->Add(reg); 134 assigned_registers_->Add(reg);
133 } 135 }
134 range->set_assigned_register(reg, chunk()->zone()); 136 range->set_assigned_register(reg, chunk()->zone());
135 } 137 }
136 138
137 139
138 } } // namespace v8::internal 140 } } // namespace v8::internal
139 141
140 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ 142 #endif // V8_LITHIUM_ALLOCATOR_INL_H_
OLDNEW
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/lithium-codegen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698