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

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

Issue 1365073002: Revert of Remove register index/code indirection (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 3 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/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-gap-resolver-ia32.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 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_IA32_LITHIUM_GAP_RESOLVER_IA32_H_ 5 #ifndef V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_
6 #define V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_ 6 #define V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_
7 7
8 #include "src/lithium.h" 8 #include "src/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::kNumRegisters]; 75 int source_uses_[Register::kMaxNumAllocatableRegisters];
76 int destination_uses_[DoubleRegister::kMaxNumRegisters]; 76 int destination_uses_[Register::kMaxNumAllocatableRegisters];
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 v8::internal 83 } } // namespace v8::internal
84 84
85 #endif // V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_ 85 #endif // V8_IA32_LITHIUM_GAP_RESOLVER_IA32_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/ia32/lithium-gap-resolver-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698