| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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_X64_LITHIUM_CODEGEN_X64_H_ | 5 #ifndef V8_X64_LITHIUM_CODEGEN_X64_H_ |
| 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ | 6 #define V8_X64_LITHIUM_CODEGEN_X64_H_ |
| 7 | 7 |
| 8 #include "x64/lithium-x64.h" | 8 #include "x64/lithium-x64.h" |
| 9 | 9 |
| 10 #include "checks.h" | 10 #include "checks.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 // chunk contains constructs we cannot handle. Returns true if the | 76 // chunk contains constructs we cannot handle. Returns true if the |
| 77 // code generation attempt succeeded. | 77 // code generation attempt succeeded. |
| 78 bool GenerateCode(); | 78 bool GenerateCode(); |
| 79 | 79 |
| 80 // Finish the code by setting stack height, safepoint, and bailout | 80 // Finish the code by setting stack height, safepoint, and bailout |
| 81 // information on it. | 81 // information on it. |
| 82 void FinishCode(Handle<Code> code); | 82 void FinishCode(Handle<Code> code); |
| 83 | 83 |
| 84 // Deferred code support. | 84 // Deferred code support. |
| 85 void DoDeferredNumberTagD(LNumberTagD* instr); | 85 void DoDeferredNumberTagD(LNumberTagD* instr); |
| 86 void DoDeferredNumberTagU(LNumberTagU* instr); | 86 |
| 87 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
| 88 void DoDeferredNumberTagIU(LInstruction* instr, |
| 89 LOperand* value, |
| 90 LOperand* temp1, |
| 91 LOperand* temp2, |
| 92 IntegerSignedness signedness); |
| 93 |
| 87 void DoDeferredTaggedToI(LTaggedToI* instr, Label* done); | 94 void DoDeferredTaggedToI(LTaggedToI* instr, Label* done); |
| 88 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 95 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); |
| 89 void DoDeferredStackCheck(LStackCheck* instr); | 96 void DoDeferredStackCheck(LStackCheck* instr); |
| 90 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 97 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 91 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 98 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 92 void DoDeferredAllocate(LAllocate* instr); | 99 void DoDeferredAllocate(LAllocate* instr); |
| 93 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 100 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 94 Label* map_check); | 101 Label* map_check); |
| 95 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); | 102 void DoDeferredInstanceMigration(LCheckMaps* instr, Register object); |
| 96 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, | 103 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 388 Label entry_; | 395 Label entry_; |
| 389 Label exit_; | 396 Label exit_; |
| 390 Label done_; | 397 Label done_; |
| 391 Label* external_exit_; | 398 Label* external_exit_; |
| 392 int instruction_index_; | 399 int instruction_index_; |
| 393 }; | 400 }; |
| 394 | 401 |
| 395 } } // namespace v8::internal | 402 } } // namespace v8::internal |
| 396 | 403 |
| 397 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 404 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
| OLD | NEW |