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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
114 // chunk contains constructs we cannot handle. Returns true if the | 114 // chunk contains constructs we cannot handle. Returns true if the |
115 // code generation attempt succeeded. | 115 // code generation attempt succeeded. |
116 bool GenerateCode(); | 116 bool GenerateCode(); |
117 | 117 |
118 // Finish the code by setting stack height, safepoint, and bailout | 118 // Finish the code by setting stack height, safepoint, and bailout |
119 // information on it. | 119 // information on it. |
120 void FinishCode(Handle<Code> code); | 120 void FinishCode(Handle<Code> code); |
121 | 121 |
122 // Deferred code support. | 122 // Deferred code support. |
123 void DoDeferredNumberTagD(LNumberTagD* instr); | 123 void DoDeferredNumberTagD(LNumberTagD* instr); |
124 #if V8_USE_31_BITS_SMI_VALUE | |
125 void DoDeferredNumberTagI(LNumberTagI* instr); | |
danno
2013/07/29 13:02:23
Please don't conditionally declare stuff unless it
haitao.feng
2013/07/30 08:56:43
Done.
| |
126 #endif | |
124 void DoDeferredNumberTagU(LNumberTagU* instr); | 127 void DoDeferredNumberTagU(LNumberTagU* instr); |
125 void DoDeferredTaggedToI(LTaggedToI* instr); | 128 void DoDeferredTaggedToI(LTaggedToI* instr); |
126 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); | 129 void DoDeferredMathAbsTaggedHeapNumber(LMathAbs* instr); |
127 void DoDeferredStackCheck(LStackCheck* instr); | 130 void DoDeferredStackCheck(LStackCheck* instr); |
128 void DoDeferredRandom(LRandom* instr); | 131 void DoDeferredRandom(LRandom* instr); |
129 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 132 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
130 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 133 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
131 void DoDeferredAllocate(LAllocate* instr); | 134 void DoDeferredAllocate(LAllocate* instr); |
132 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 135 void DoDeferredInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
133 Label* map_check); | 136 Label* map_check); |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
427 LCodeGen* codegen_; | 430 LCodeGen* codegen_; |
428 Label entry_; | 431 Label entry_; |
429 Label exit_; | 432 Label exit_; |
430 Label* external_exit_; | 433 Label* external_exit_; |
431 int instruction_index_; | 434 int instruction_index_; |
432 }; | 435 }; |
433 | 436 |
434 } } // namespace v8::internal | 437 } } // namespace v8::internal |
435 | 438 |
436 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ | 439 #endif // V8_X64_LITHIUM_CODEGEN_X64_H_ |
OLD | NEW |