Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(654)

Side by Side Diff: src/arm/lithium-codegen-arm.h

Issue 6128007: Reuse the gap move resolver. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/build/ia32
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | src/arm/lithium-codegen-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698