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

Side by Side Diff: src/compiler/register-allocator.h

Issue 1544603002: Turbofan: Rename register allocator double phase. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 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/compiler/pipeline.cc ('k') | src/compiler/register-allocator.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_REGISTER_ALLOCATOR_H_ 5 #ifndef V8_REGISTER_ALLOCATOR_H_
6 #define V8_REGISTER_ALLOCATOR_H_ 6 #define V8_REGISTER_ALLOCATOR_H_
7 7
8 #include "src/compiler/instruction.h" 8 #include "src/compiler/instruction.h"
9 #include "src/ostreams.h" 9 #include "src/ostreams.h"
10 #include "src/register-configuration.h" 10 #include "src/register-configuration.h"
11 #include "src/zone-containers.h" 11 #include "src/zone-containers.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 namespace compiler { 15 namespace compiler {
16 16
17 enum RegisterKind { 17 enum RegisterKind { GENERAL_REGISTERS, FP_REGISTERS };
18 GENERAL_REGISTERS,
19 DOUBLE_REGISTERS
20 };
21
22 18
23 // This class represents a single point of a InstructionOperand's lifetime. For 19 // This class represents a single point of a InstructionOperand's lifetime. For
24 // each instruction there are four lifetime positions: 20 // each instruction there are four lifetime positions:
25 // 21 //
26 // [[START, END], [START, END]] 22 // [[START, END], [START, END]]
27 // 23 //
28 // Where the first half position corresponds to 24 // Where the first half position corresponds to
29 // 25 //
30 // [GapPosition::START, GapPosition::END] 26 // [GapPosition::START, GapPosition::END]
31 // 27 //
(...skipping 1161 matching lines...) Expand 10 before | Expand all | Expand 10 after
1193 RegisterAllocationData* const data_; 1189 RegisterAllocationData* const data_;
1194 1190
1195 DISALLOW_COPY_AND_ASSIGN(LiveRangeConnector); 1191 DISALLOW_COPY_AND_ASSIGN(LiveRangeConnector);
1196 }; 1192 };
1197 1193
1198 } // namespace compiler 1194 } // namespace compiler
1199 } // namespace internal 1195 } // namespace internal
1200 } // namespace v8 1196 } // namespace v8
1201 1197
1202 #endif // V8_REGISTER_ALLOCATOR_H_ 1198 #endif // V8_REGISTER_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/register-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698