OLD | NEW |
1 // Copyright 2010 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 |
11 // with the distribution. | 11 // with the distribution. |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 Scope* const scope_; | 232 Scope* const scope_; |
233 Status status_; | 233 Status status_; |
234 TranslationBuffer translations_; | 234 TranslationBuffer translations_; |
235 ZoneList<LDeferredCode*> deferred_; | 235 ZoneList<LDeferredCode*> deferred_; |
236 int osr_pc_offset_; | 236 int osr_pc_offset_; |
237 | 237 |
238 // Builder that keeps track of safepoints in the code. The table | 238 // Builder that keeps track of safepoints in the code. The table |
239 // itself is emitted at the end of the generated code. | 239 // itself is emitted at the end of the generated code. |
240 SafepointTableBuilder safepoints_; | 240 SafepointTableBuilder safepoints_; |
241 | 241 |
| 242 // Compiler from a set of parallel moves to a sequential list of moves. |
| 243 LGapResolver resolver_; |
| 244 |
242 friend class LDeferredCode; | 245 friend class LDeferredCode; |
243 friend class LEnvironment; | 246 friend class LEnvironment; |
244 friend class SafepointGenerator; | 247 friend class SafepointGenerator; |
245 DISALLOW_COPY_AND_ASSIGN(LCodeGen); | 248 DISALLOW_COPY_AND_ASSIGN(LCodeGen); |
246 }; | 249 }; |
247 | 250 |
248 | 251 |
249 class LDeferredCode: public ZoneObject { | 252 class LDeferredCode: public ZoneObject { |
250 public: | 253 public: |
251 explicit LDeferredCode(LCodeGen* codegen) | 254 explicit LDeferredCode(LCodeGen* codegen) |
(...skipping 15 matching lines...) Expand all Loading... |
267 private: | 270 private: |
268 LCodeGen* codegen_; | 271 LCodeGen* codegen_; |
269 Label entry_; | 272 Label entry_; |
270 Label exit_; | 273 Label exit_; |
271 Label* external_exit_; | 274 Label* external_exit_; |
272 }; | 275 }; |
273 | 276 |
274 } } // namespace v8::internal | 277 } } // namespace v8::internal |
275 | 278 |
276 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ | 279 #endif // V8_ARM_LITHIUM_CODEGEN_ARM_H_ |
OLD | NEW |