| 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_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 5 #ifndef V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 7 | 7 |
| 8 #include "src/crankshaft/arm64/lithium-arm64.h" | 8 #include "src/crankshaft/arm64/lithium-arm64.h" |
| 9 | 9 |
| 10 #include "src/ast/scopes.h" | 10 #include "src/ast/scopes.h" |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 Condition condition, | 152 Condition condition, |
| 153 const Register& lhs, | 153 const Register& lhs, |
| 154 const Operand& rhs); | 154 const Operand& rhs); |
| 155 | 155 |
| 156 template<class InstrType> | 156 template<class InstrType> |
| 157 void EmitTestAndBranch(InstrType instr, | 157 void EmitTestAndBranch(InstrType instr, |
| 158 Condition condition, | 158 Condition condition, |
| 159 const Register& value, | 159 const Register& value, |
| 160 uint64_t mask); | 160 uint64_t mask); |
| 161 | 161 |
| 162 template <class InstrType> | 162 template<class InstrType> |
| 163 void EmitBranchIfNonZeroNumber(InstrType instr, const VRegister& value, | 163 void EmitBranchIfNonZeroNumber(InstrType instr, |
| 164 const VRegister& scratch); | 164 const FPRegister& value, |
| 165 const FPRegister& scratch); |
| 165 | 166 |
| 166 template<class InstrType> | 167 template<class InstrType> |
| 167 void EmitBranchIfHeapNumber(InstrType instr, | 168 void EmitBranchIfHeapNumber(InstrType instr, |
| 168 const Register& value); | 169 const Register& value); |
| 169 | 170 |
| 170 template<class InstrType> | 171 template<class InstrType> |
| 171 void EmitBranchIfRoot(InstrType instr, | 172 void EmitBranchIfRoot(InstrType instr, |
| 172 const Register& value, | 173 const Register& value, |
| 173 Heap::RootListIndex index); | 174 Heap::RootListIndex index); |
| 174 | 175 |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 432 protected: | 433 protected: |
| 433 MacroAssembler* masm() const { return codegen_->masm(); } | 434 MacroAssembler* masm() const { return codegen_->masm(); } |
| 434 | 435 |
| 435 LCodeGen* codegen_; | 436 LCodeGen* codegen_; |
| 436 }; | 437 }; |
| 437 | 438 |
| 438 } // namespace internal | 439 } // namespace internal |
| 439 } // namespace v8 | 440 } // namespace v8 |
| 440 | 441 |
| 441 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 442 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| OLD | NEW |