| 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, | 163 void EmitBranchIfNonZeroNumber(InstrType instr, const VRegister& value, |
| 164 const FPRegister& value, | 164 const VRegister& scratch); |
| 165 const FPRegister& scratch); | |
| 166 | 165 |
| 167 template<class InstrType> | 166 template<class InstrType> |
| 168 void EmitBranchIfHeapNumber(InstrType instr, | 167 void EmitBranchIfHeapNumber(InstrType instr, |
| 169 const Register& value); | 168 const Register& value); |
| 170 | 169 |
| 171 template<class InstrType> | 170 template<class InstrType> |
| 172 void EmitBranchIfRoot(InstrType instr, | 171 void EmitBranchIfRoot(InstrType instr, |
| 173 const Register& value, | 172 const Register& value, |
| 174 Heap::RootListIndex index); | 173 Heap::RootListIndex index); |
| 175 | 174 |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 protected: | 432 protected: |
| 434 MacroAssembler* masm() const { return codegen_->masm(); } | 433 MacroAssembler* masm() const { return codegen_->masm(); } |
| 435 | 434 |
| 436 LCodeGen* codegen_; | 435 LCodeGen* codegen_; |
| 437 }; | 436 }; |
| 438 | 437 |
| 439 } // namespace internal | 438 } // namespace internal |
| 440 } // namespace v8 | 439 } // namespace v8 |
| 441 | 440 |
| 442 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 441 #endif // V8_CRANKSHAFT_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| OLD | NEW |