| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 bool is_done() const { return status_ == DONE; } | 151 bool is_done() const { return status_ == DONE; } |
| 152 bool is_aborted() const { return status_ == ABORTED; } | 152 bool is_aborted() const { return status_ == ABORTED; } |
| 153 | 153 |
| 154 // Return a double scratch register which can be used locally | 154 // Return a double scratch register which can be used locally |
| 155 // when generating code for a lithium instruction. | 155 // when generating code for a lithium instruction. |
| 156 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } | 156 DoubleRegister double_scratch() { return crankshaft_fp_scratch; } |
| 157 | 157 |
| 158 // Deferred code support. | 158 // Deferred code support. |
| 159 void DoDeferredNumberTagD(LNumberTagD* instr); | 159 void DoDeferredNumberTagD(LNumberTagD* instr); |
| 160 void DoDeferredStackCheck(LStackCheck* instr); | 160 void DoDeferredStackCheck(LStackCheck* instr); |
| 161 void DoDeferredRandom(LRandom* instr); |
| 161 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 162 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 162 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 163 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 163 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, | 164 void DoDeferredMathAbsTagged(LMathAbsTagged* instr, |
| 164 Label* exit, | 165 Label* exit, |
| 165 Label* allocation_entry); | 166 Label* allocation_entry); |
| 166 | 167 |
| 167 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 168 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
| 168 void DoDeferredNumberTagI(LInstruction* instr, | 169 void DoDeferredNumberTagI(LInstruction* instr, |
| 169 LOperand* value, | 170 LOperand* value, |
| 170 LOperand* temp1, | 171 LOperand* temp1, |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 | 478 |
| 478 protected: | 479 protected: |
| 479 MacroAssembler* masm() const { return codegen_->masm(); } | 480 MacroAssembler* masm() const { return codegen_->masm(); } |
| 480 | 481 |
| 481 LCodeGen* codegen_; | 482 LCodeGen* codegen_; |
| 482 }; | 483 }; |
| 483 | 484 |
| 484 } } // namespace v8::internal | 485 } } // namespace v8::internal |
| 485 | 486 |
| 486 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ | 487 #endif // V8_A64_LITHIUM_CODEGEN_A64_H_ |
| OLD | NEW |