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

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

Issue 1018853003: [turbofan] add non fixed slot constraint to register allocator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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/register-allocator.cc ('k') | src/compiler/register-allocator-verifier.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_VERIFIER_H_ 5 #ifndef V8_REGISTER_ALLOCATOR_VERIFIER_H_
6 #define V8_REGISTER_ALLOCATOR_VERIFIER_H_ 6 #define V8_REGISTER_ALLOCATOR_VERIFIER_H_
7 7
8 #include "src/zone-containers.h" 8 #include "src/zone-containers.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 12 matching lines...) Expand all
23 void VerifyGapMoves(); 23 void VerifyGapMoves();
24 24
25 private: 25 private:
26 enum ConstraintType { 26 enum ConstraintType {
27 kConstant, 27 kConstant,
28 kImmediate, 28 kImmediate,
29 kRegister, 29 kRegister,
30 kFixedRegister, 30 kFixedRegister,
31 kDoubleRegister, 31 kDoubleRegister,
32 kFixedDoubleRegister, 32 kFixedDoubleRegister,
33 kSlot,
34 kDoubleSlot,
33 kFixedSlot, 35 kFixedSlot,
34 kNone, 36 kNone,
35 kNoneDouble, 37 kNoneDouble,
36 kSameAsFirst 38 kSameAsFirst
37 }; 39 };
38 40
39 struct OperandConstraint { 41 struct OperandConstraint {
40 ConstraintType type_; 42 ConstraintType type_;
41 int value_; // subkind index when relevant 43 int value_; // subkind index when relevant
42 int virtual_register_; 44 int virtual_register_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 Constraints constraints_; 76 Constraints constraints_;
75 77
76 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier); 78 DISALLOW_COPY_AND_ASSIGN(RegisterAllocatorVerifier);
77 }; 79 };
78 80
79 } // namespace compiler 81 } // namespace compiler
80 } // namespace internal 82 } // namespace internal
81 } // namespace v8 83 } // namespace v8
82 84
83 #endif 85 #endif
OLDNEW
« no previous file with comments | « src/compiler/register-allocator.cc ('k') | src/compiler/register-allocator-verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698