| 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_LITHIUM_CODEGEN_ARM64_H_ | 5 #ifndef V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 6 #define V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| 7 | 7 |
| 8 #include "src/arm64/lithium-arm64.h" | 8 #include "src/arm64/lithium-arm64.h" |
| 9 | 9 |
| 10 #include "src/arm64/lithium-gap-resolver-arm64.h" | 10 #include "src/arm64/lithium-gap-resolver-arm64.h" |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 #undef DECLARE_DO | 107 #undef DECLARE_DO |
| 108 | 108 |
| 109 private: | 109 private: |
| 110 // Return a double scratch register which can be used locally | 110 // Return a double scratch register which can be used locally |
| 111 // when generating code for a lithium instruction. | 111 // when generating code for a lithium instruction. |
| 112 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } | 112 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } |
| 113 | 113 |
| 114 // Deferred code support. | 114 // Deferred code support. |
| 115 void DoDeferredNumberTagD(LNumberTagD* instr); | 115 void DoDeferredNumberTagD(LNumberTagD* instr); |
| 116 void DoDeferredStackCheck(LStackCheck* instr); | 116 void DoDeferredStackCheck(LStackCheck* instr); |
| 117 void DoDeferredMaybeGrowElements(LMaybeGrowElements* instr); |
| 117 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 118 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 118 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 119 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 119 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, | 120 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, |
| 120 Label* exit, | 121 Label* exit, |
| 121 Label* allocation_entry); | 122 Label* allocation_entry); |
| 122 | 123 |
| 123 void DoDeferredNumberTagU(LInstruction* instr, | 124 void DoDeferredNumberTagU(LInstruction* instr, |
| 124 LOperand* value, | 125 LOperand* value, |
| 125 LOperand* temp1, | 126 LOperand* temp1, |
| 126 LOperand* temp2); | 127 LOperand* temp2); |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 | 446 |
| 446 protected: | 447 protected: |
| 447 MacroAssembler* masm() const { return codegen_->masm(); } | 448 MacroAssembler* masm() const { return codegen_->masm(); } |
| 448 | 449 |
| 449 LCodeGen* codegen_; | 450 LCodeGen* codegen_; |
| 450 }; | 451 }; |
| 451 | 452 |
| 452 } } // namespace v8::internal | 453 } } // namespace v8::internal |
| 453 | 454 |
| 454 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ | 455 #endif // V8_ARM64_LITHIUM_CODEGEN_ARM64_H_ |
| OLD | NEW |