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

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

Issue 1405363003: Move Hydrogen and Lithium to src/crankshaft/ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebased Created 5 years, 2 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/crankshaft/lithium-allocator.cc ('k') | src/crankshaft/lithium-codegen.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 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_CRANKSHAFT_LITHIUM_ALLOCATOR_INL_H_
6 #define V8_LITHIUM_ALLOCATOR_INL_H_ 6 #define V8_CRANKSHAFT_LITHIUM_ALLOCATOR_INL_H_
7 7
8 #include "src/lithium-allocator.h" 8 #include "src/crankshaft/lithium-allocator.h"
9 9
10 #if V8_TARGET_ARCH_IA32 10 #if V8_TARGET_ARCH_IA32
11 #include "src/ia32/lithium-ia32.h" // NOLINT 11 #include "src/crankshaft/ia32/lithium-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/crankshaft/x64/lithium-x64.h" // NOLINT
14 #elif V8_TARGET_ARCH_ARM64 14 #elif V8_TARGET_ARCH_ARM64
15 #include "src/arm64/lithium-arm64.h" // NOLINT 15 #include "src/crankshaft/arm64/lithium-arm64.h" // NOLINT
16 #elif V8_TARGET_ARCH_ARM 16 #elif V8_TARGET_ARCH_ARM
17 #include "src/arm/lithium-arm.h" // NOLINT 17 #include "src/crankshaft/arm/lithium-arm.h" // NOLINT
18 #elif V8_TARGET_ARCH_PPC 18 #elif V8_TARGET_ARCH_PPC
19 #include "src/ppc/lithium-ppc.h" // NOLINT 19 #include "src/crankshaft/ppc/lithium-ppc.h" // NOLINT
20 #elif V8_TARGET_ARCH_MIPS 20 #elif V8_TARGET_ARCH_MIPS
21 #include "src/mips/lithium-mips.h" // NOLINT 21 #include "src/crankshaft/mips/lithium-mips.h" // NOLINT
22 #elif V8_TARGET_ARCH_MIPS64 22 #elif V8_TARGET_ARCH_MIPS64
23 #include "src/mips64/lithium-mips64.h" // NOLINT 23 #include "src/crankshaft/mips64/lithium-mips64.h" // NOLINT
24 #elif V8_TARGET_ARCH_X87 24 #elif V8_TARGET_ARCH_X87
25 #include "src/x87/lithium-x87.h" // NOLINT 25 #include "src/crankshaft/x87/lithium-x87.h" // NOLINT
26 #else 26 #else
27 #error "Unknown architecture." 27 #error "Unknown architecture."
28 #endif 28 #endif
29 29
30 namespace v8 { 30 namespace v8 {
31 namespace internal { 31 namespace internal {
32 32
33 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); } 33 bool LAllocator::IsGapAt(int index) { return chunk_->IsGapAt(index); }
34 34
35 35
(...skipping 14 matching lines...) Expand all
50 DCHECK(range->Kind() == GENERAL_REGISTERS); 50 DCHECK(range->Kind() == GENERAL_REGISTERS);
51 assigned_registers_->Add(reg); 51 assigned_registers_->Add(reg);
52 } 52 }
53 range->set_assigned_register(reg, chunk()->zone()); 53 range->set_assigned_register(reg, chunk()->zone());
54 } 54 }
55 55
56 56
57 } // namespace internal 57 } // namespace internal
58 } // namespace v8 58 } // namespace v8
59 59
60 #endif // V8_LITHIUM_ALLOCATOR_INL_H_ 60 #endif // V8_CRANKSHAFT_LITHIUM_ALLOCATOR_INL_H_
OLDNEW
« no previous file with comments | « src/crankshaft/lithium-allocator.cc ('k') | src/crankshaft/lithium-codegen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698