OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 // Try to generate code for the entire chunk, but it may fail if the | 86 // Try to generate code for the entire chunk, but it may fail if the |
87 // chunk contains constructs we cannot handle. Returns true if the | 87 // chunk contains constructs we cannot handle. Returns true if the |
88 // code generation attempt succeeded. | 88 // code generation attempt succeeded. |
89 bool GenerateCode(); | 89 bool GenerateCode(); |
90 | 90 |
91 // Finish the code by setting stack height, safepoint, and bailout | 91 // Finish the code by setting stack height, safepoint, and bailout |
92 // information on it. | 92 // information on it. |
93 void FinishCode(Handle<Code> code); | 93 void FinishCode(Handle<Code> code); |
94 | 94 |
95 // Deferred code support. | 95 // Deferred code support. |
96 void DoDeferredGenericBinaryStub(LBinaryOperation* instr, Token::Value op); | 96 template<int T> |
| 97 void DoDeferredGenericBinaryStub(LTemplateInstruction<1, 2, T>* instr, |
| 98 Token::Value op); |
97 void DoDeferredNumberTagD(LNumberTagD* instr); | 99 void DoDeferredNumberTagD(LNumberTagD* instr); |
98 void DoDeferredNumberTagI(LNumberTagI* instr); | 100 void DoDeferredNumberTagI(LNumberTagI* instr); |
99 void DoDeferredTaggedToI(LTaggedToI* instr); | 101 void DoDeferredTaggedToI(LTaggedToI* instr); |
100 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 102 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
101 void DoDeferredStackCheck(LGoto* instr); | 103 void DoDeferredStackCheck(LGoto* instr); |
102 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 104 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
103 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 105 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
104 Label* map_check); | 106 Label* map_check); |
105 | 107 |
106 // Parallel move support. | 108 // Parallel move support. |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 private: | 306 private: |
305 LCodeGen* codegen_; | 307 LCodeGen* codegen_; |
306 Label entry_; | 308 Label entry_; |
307 Label exit_; | 309 Label exit_; |
308 Label* external_exit_; | 310 Label* external_exit_; |
309 }; | 311 }; |
310 | 312 |
311 } } // namespace v8::internal | 313 } } // namespace v8::internal |
312 | 314 |
313 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 315 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |