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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // information on it. | 109 // information on it. |
110 void FinishCode(Handle<Code> code); | 110 void FinishCode(Handle<Code> code); |
111 | 111 |
112 // Deferred code support. | 112 // Deferred code support. |
113 template<int T> | 113 template<int T> |
114 void DoDeferredBinaryOpStub(LTemplateInstruction<1, 2, T>* instr, | 114 void DoDeferredBinaryOpStub(LTemplateInstruction<1, 2, T>* instr, |
115 Token::Value op); | 115 Token::Value op); |
116 void DoDeferredNumberTagD(LNumberTagD* instr); | 116 void DoDeferredNumberTagD(LNumberTagD* instr); |
117 | 117 |
118 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; | 118 enum IntegerSignedness { SIGNED_INT32, UNSIGNED_INT32 }; |
119 void DoDeferredNumberTagI(LInstruction* instr, IntegerSignedness signedness); | 119 void DoDeferredNumberTagI(LInstruction* instr, |
| 120 LOperand* value, |
| 121 IntegerSignedness signedness); |
120 | 122 |
121 void DoDeferredTaggedToI(LTaggedToI* instr); | 123 void DoDeferredTaggedToI(LTaggedToI* instr); |
122 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 124 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
123 void DoDeferredStackCheck(LStackCheck* instr); | 125 void DoDeferredStackCheck(LStackCheck* instr); |
124 void DoDeferredRandom(LRandom* instr); | 126 void DoDeferredRandom(LRandom* instr); |
125 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 127 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
126 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 128 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
127 void DoDeferredAllocateObject(LAllocateObject* instr); | 129 void DoDeferredAllocateObject(LAllocateObject* instr); |
128 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 130 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
129 Label* map_check); | 131 Label* map_check); |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 LCodeGen* codegen_; | 469 LCodeGen* codegen_; |
468 Label entry_; | 470 Label entry_; |
469 Label exit_; | 471 Label exit_; |
470 Label* external_exit_; | 472 Label* external_exit_; |
471 int instruction_index_; | 473 int instruction_index_; |
472 }; | 474 }; |
473 | 475 |
474 } } // namespace v8::internal | 476 } } // namespace v8::internal |
475 | 477 |
476 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 478 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |