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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 // code generation attempt succeeded. | 117 // code generation attempt succeeded. |
118 bool GenerateCode(); | 118 bool GenerateCode(); |
119 | 119 |
120 // Finish the code by setting stack height, safepoint, and bailout | 120 // Finish the code by setting stack height, safepoint, and bailout |
121 // information on it. | 121 // information on it. |
122 void FinishCode(Handle<Code> code); | 122 void FinishCode(Handle<Code> code); |
123 | 123 |
124 void DoDeferredNumberTagD(LNumberTagD* instr); | 124 void DoDeferredNumberTagD(LNumberTagD* instr); |
125 | 125 |
126 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 126 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
127 void DoDeferredNumberTagI(LInstruction* instr, | 127 void DoDeferredNumberTagIU(LInstruction* instr, |
128 LOperand* value, | 128 LOperand* value, |
129 IntegerSignedness signedness); | 129 LOperand* temp1, |
| 130 LOperand* temp2, |
| 131 IntegerSignedness signedness); |
130 | 132 |
131 void DoDeferredTaggedToI(LTaggedToI* instr); | 133 void DoDeferredTaggedToI(LTaggedToI* instr); |
132 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 134 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); |
133 void DoDeferredStackCheck(LStackCheck* instr); | 135 void DoDeferredStackCheck(LStackCheck* instr); |
134 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 136 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
135 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 137 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
136 void DoDeferredAllocate(LAllocate* instr); | 138 void DoDeferredAllocate(LAllocate* instr); |
137 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 139 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
138 Label* map_check); | 140 Label* map_check); |
139 | 141 |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 LCodeGen* codegen_; | 499 LCodeGen* codegen_; |
498 Label entry_; | 500 Label entry_; |
499 Label exit_; | 501 Label exit_; |
500 Label* external_exit_; | 502 Label* external_exit_; |
501 int instruction_index_; | 503 int instruction_index_; |
502 }; | 504 }; |
503 | 505 |
504 } } // namespace v8::internal | 506 } } // namespace v8::internal |
505 | 507 |
506 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 508 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |