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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 // code generation attempt succeeded. | 105 // code generation attempt succeeded. |
106 bool GenerateCode(); | 106 bool GenerateCode(); |
107 | 107 |
108 // Finish the code by setting stack height, safepoint, and bailout | 108 // Finish the code by setting stack height, safepoint, and bailout |
109 // information on it. | 109 // information on it. |
110 void FinishCode(Handle<Code> code); | 110 void FinishCode(Handle<Code> code); |
111 | 111 |
112 void DoDeferredNumberTagD(LNumberTagD* instr); | 112 void DoDeferredNumberTagD(LNumberTagD* instr); |
113 | 113 |
114 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 114 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
115 void DoDeferredNumberTagI(LInstruction* instr, IntegerSignedness signedness); | 115 void DoDeferredNumberTagI(LInstruction* instr, |
| 116 LOperand* value, |
| 117 IntegerSignedness signedness); |
116 | 118 |
117 void DoDeferredTaggedToI(LTaggedToI* instr); | 119 void DoDeferredTaggedToI(LTaggedToI* instr); |
118 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 120 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
119 void DoDeferredStackCheck(LStackCheck* instr); | 121 void DoDeferredStackCheck(LStackCheck* instr); |
120 void DoDeferredRandom(LRandom* instr); | 122 void DoDeferredRandom(LRandom* instr); |
121 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 123 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
122 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 124 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
123 void DoDeferredAllocateObject(LAllocateObject* instr); | 125 void DoDeferredAllocateObject(LAllocateObject* instr); |
124 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 126 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
125 Label* map_check); | 127 Label* map_check); |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 LCodeGen* codegen_; | 473 LCodeGen* codegen_; |
472 Label entry_; | 474 Label entry_; |
473 Label exit_; | 475 Label exit_; |
474 Label* external_exit_; | 476 Label* external_exit_; |
475 int instruction_index_; | 477 int instruction_index_; |
476 }; | 478 }; |
477 | 479 |
478 } } // namespace v8::internal | 480 } } // namespace v8::internal |
479 | 481 |
480 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ | 482 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ |
OLD | NEW |