OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_DELAYED_MASM_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_H_ |
6 #define V8_ARM64_DELAYED_MASM_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_H_ |
7 | 7 |
8 #include "src/lithium.h" | 8 #include "src/crankshaft/lithium.h" |
9 | 9 |
10 namespace v8 { | 10 namespace v8 { |
11 namespace internal { | 11 namespace internal { |
12 | 12 |
13 class LCodeGen; | 13 class LCodeGen; |
14 | 14 |
15 // This class delays the generation of some instructions. This way, we have a | 15 // This class delays the generation of some instructions. This way, we have a |
16 // chance to merge two instructions in one (with load/store pair). | 16 // chance to merge two instructions in one (with load/store pair). |
17 // Each instruction must either: | 17 // Each instruction must either: |
18 // - merge with the pending instruction and generate just one instruction. | 18 // - merge with the pending instruction and generate just one instruction. |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 int pending_pc_; | 155 int pending_pc_; |
156 // If true, the scratch register has been acquired outside this class. The | 156 // If true, the scratch register has been acquired outside this class. The |
157 // scratch register can no longer be used for constants. | 157 // scratch register can no longer be used for constants. |
158 bool scratch_register_acquired_; | 158 bool scratch_register_acquired_; |
159 #endif | 159 #endif |
160 }; | 160 }; |
161 | 161 |
162 } // namespace internal | 162 } // namespace internal |
163 } // namespace v8 | 163 } // namespace v8 |
164 | 164 |
165 #endif // V8_ARM64_DELAYED_MASM_ARM64_H_ | 165 #endif // V8_CRANKSHAFT_ARM64_DELAYED_MASM_ARM64_H_ |
OLD | NEW |