| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |