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

Side by Side Diff: src/lithium-allocator.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.cc ('k') | src/lithium-allocator-inl.h » ('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 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 #include "lithium-allocator-inl.h" 6 #include "lithium-allocator-inl.h"
7 7
8 #include "hydrogen.h" 8 #include "hydrogen.h"
9 #include "string-stream.h" 9 #include "string-stream.h"
10 10
11 #if V8_TARGET_ARCH_IA32 11 #if V8_TARGET_ARCH_IA32
12 #include "ia32/lithium-ia32.h" 12 #include "ia32/lithium-ia32.h"
13 #elif V8_TARGET_ARCH_X64 13 #elif V8_TARGET_ARCH_X64
14 #include "x64/lithium-x64.h" 14 #include "x64/lithium-x64.h"
15 #elif V8_TARGET_ARCH_ARM64 15 #elif V8_TARGET_ARCH_ARM64
16 #include "arm64/lithium-arm64.h" 16 #include "arm64/lithium-arm64.h"
17 #elif V8_TARGET_ARCH_ARM 17 #elif V8_TARGET_ARCH_ARM
18 #include "arm/lithium-arm.h" 18 #include "arm/lithium-arm.h"
19 #elif V8_TARGET_ARCH_MIPS 19 #elif V8_TARGET_ARCH_MIPS
20 #include "mips/lithium-mips.h" 20 #include "mips/lithium-mips.h"
21 #elif V8_TARGET_ARCH_X87
22 #include "x87/lithium-x87.h"
21 #else 23 #else
22 #error "Unknown architecture." 24 #error "Unknown architecture."
23 #endif 25 #endif
24 26
25 namespace v8 { 27 namespace v8 {
26 namespace internal { 28 namespace internal {
27 29
28 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) { 30 static inline LifetimePosition Min(LifetimePosition a, LifetimePosition b) {
29 return a.Value() < b.Value() ? a : b; 31 return a.Value() < b.Value() ? a : b;
30 } 32 }
(...skipping 2167 matching lines...) Expand 10 before | Expand all | Expand 10 after
2198 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_); 2200 isolate()->GetHTracer()->TraceLiveRanges(name(), allocator_);
2199 } 2201 }
2200 2202
2201 #ifdef DEBUG 2203 #ifdef DEBUG
2202 if (allocator_ != NULL) allocator_->Verify(); 2204 if (allocator_ != NULL) allocator_->Verify();
2203 #endif 2205 #endif
2204 } 2206 }
2205 2207
2206 2208
2207 } } // namespace v8::internal 2209 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/lithium-allocator-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698