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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 void DoDeferredTaggedToI(LTaggedToI* instr); | 98 void DoDeferredTaggedToI(LTaggedToI* instr); |
99 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); | 99 void DoDeferredMathAbsTaggedHeapNumber(LUnaryMathOperation* instr); |
100 void DoDeferredStackCheck(LGoto* instr); | 100 void DoDeferredStackCheck(LGoto* instr); |
101 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); | 101 void DoDeferredStringCharCodeAt(LStringCharCodeAt* instr); |
102 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); | 102 void DoDeferredStringCharFromCode(LStringCharFromCode* instr); |
103 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, | 103 void DoDeferredLInstanceOfKnownGlobal(LInstanceOfKnownGlobal* instr, |
104 Label* map_check); | 104 Label* map_check); |
105 | 105 |
106 // Parallel move support. | 106 // Parallel move support. |
107 void DoParallelMove(LParallelMove* move); | 107 void DoParallelMove(LParallelMove* move); |
| 108 void DoGap(LGap* instr); |
108 | 109 |
109 // Emit frame translation commands for an environment. | 110 // Emit frame translation commands for an environment. |
110 void WriteTranslation(LEnvironment* environment, Translation* translation); | 111 void WriteTranslation(LEnvironment* environment, Translation* translation); |
111 | 112 |
112 void EnsureRelocSpaceForDeoptimization(); | 113 void EnsureRelocSpaceForDeoptimization(); |
113 | 114 |
114 // Declare methods that deal with the individual node types. | 115 // Declare methods that deal with the individual instructions. |
115 #define DECLARE_DO(type) void Do##type(L##type* node); | 116 #define DECLARE_DO(type) void Do##type(L##type* instr); |
116 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) | 117 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) |
117 #undef DECLARE_DO | 118 #undef DECLARE_DO |
118 | 119 |
119 private: | 120 private: |
120 enum Status { | 121 enum Status { |
121 UNUSED, | 122 UNUSED, |
122 GENERATING, | 123 GENERATING, |
123 DONE, | 124 DONE, |
124 ABORTED | 125 ABORTED |
125 }; | 126 }; |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 private: | 362 private: |
362 LCodeGen* codegen_; | 363 LCodeGen* codegen_; |
363 Label entry_; | 364 Label entry_; |
364 Label exit_; | 365 Label exit_; |
365 Label* external_exit_; | 366 Label* external_exit_; |
366 }; | 367 }; |
367 | 368 |
368 } } // namespace v8::internal | 369 } } // namespace v8::internal |
369 | 370 |
370 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ | 371 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ |
OLD | NEW |