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

Side by Side Diff: src/crankshaft/x87/lithium-gap-resolver-x87.h

Issue 1410393004: X87: Re-reland: Remove register index/code indirection. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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
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_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_ 5 #ifndef V8_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_
6 #define V8_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_ 6 #define V8_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_
7 7
8 #include "src/crankshaft/lithium.h" 8 #include "src/crankshaft/lithium.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Verify the move list before performing moves. 66 // Verify the move list before performing moves.
67 void Verify(); 67 void Verify();
68 68
69 LCodeGen* cgen_; 69 LCodeGen* cgen_;
70 70
71 // List of moves not yet resolved. 71 // List of moves not yet resolved.
72 ZoneList<LMoveOperands> moves_; 72 ZoneList<LMoveOperands> moves_;
73 73
74 // Source and destination use counts for the general purpose registers. 74 // Source and destination use counts for the general purpose registers.
75 int source_uses_[Register::kMaxNumAllocatableRegisters]; 75 int source_uses_[Register::kNumRegisters];
76 int destination_uses_[Register::kMaxNumAllocatableRegisters]; 76 int destination_uses_[DoubleRegister::kMaxNumRegisters];
77 77
78 // If we had to spill on demand, the currently spilled register's 78 // If we had to spill on demand, the currently spilled register's
79 // allocation index. 79 // allocation index.
80 int spilled_register_; 80 int spilled_register_;
81 }; 81 };
82 82
83 } // namespace internal 83 } // namespace internal
84 } // namespace v8 84 } // namespace v8
85 85
86 #endif // V8_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_ 86 #endif // V8_CRANKSHAFT_X87_LITHIUM_GAP_RESOLVER_X87_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/crankshaft/x87/lithium-gap-resolver-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698