| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 bool GenerateCode(); | 100 bool GenerateCode(); |
| 101 | 101 |
| 102 // Finish the code by setting stack height, safepoint, and bailout | 102 // Finish the code by setting stack height, safepoint, and bailout |
| 103 // information on it. | 103 // information on it. |
| 104 void FinishCode(Handle<Code> code); | 104 void FinishCode(Handle<Code> code); |
| 105 | 105 |
| 106 // Deferred code support. | 106 // Deferred code support. |
| 107 void DoDeferredNumberTagD(LNumberTagD* instr); | 107 void DoDeferredNumberTagD(LNumberTagD* instr); |
| 108 | 108 |
| 109 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 109 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
| 110 void DoDeferredNumberTagI(LInstruction* instr, IntegerSignedness signedness); | 110 void DoDeferredNumberTagI(LInstruction* instr, |
| 111 LOperand* value, |
| 112 IntegerSignedness signedness); |
| 111 | 113 |
| 112 void DoDeferredTaggedToI(LTaggedToI* instr); | 114 void DoDeferredTaggedToI(LTaggedToI* instr); |
| 113 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 115 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
| 114 void DoDeferredStackCheck(LStackCheck* instr); | 116 void DoDeferredStackCheck(LStackCheck* instr); |
| 115 void DoDeferredRandom(LRandom* instr); | 117 void DoDeferredRandom(LRandom* instr); |
| 116 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 118 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
| 117 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 119 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
| 118 void DoDeferredAllocateObject(LAllocateObject* instr); | 120 void DoDeferredAllocateObject(LAllocateObject* instr); |
| 119 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 121 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
| 120 Label* map_check); | 122 Label* map_check); |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 LCodeGen* codegen_; | 420 LCodeGen* codegen_; |
| 419 Label entry_; | 421 Label entry_; |
| 420 Label exit_; | 422 Label exit_; |
| 421 Label* external_exit_; | 423 Label* external_exit_; |
| 422 int instruction_index_; | 424 int instruction_index_; |
| 423 }; | 425 }; |
| 424 | 426 |
| 425 } } // namespace v8::internal | 427 } } // namespace v8::internal |
| 426 | 428 |
| 427 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 429 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
| OLD | NEW |