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

Side by Side Diff: src/ia32/lithium-codegen-ia32.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 | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 Scope* const scope_; 223 Scope* const scope_;
224 Status status_; 224 Status status_;
225 TranslationBuffer translations_; 225 TranslationBuffer translations_;
226 ZoneList<LDeferredCode*> deferred_; 226 ZoneList<LDeferredCode*> deferred_;
227 int osr_pc_offset_; 227 int osr_pc_offset_;
228 228
229 // Builder that keeps track of safepoints in the code. The table 229 // Builder that keeps track of safepoints in the code. The table
230 // itself is emitted at the end of the generated code. 230 // itself is emitted at the end of the generated code.
231 SafepointTableBuilder safepoints_; 231 SafepointTableBuilder safepoints_;
232 232
233 // Compiler from a set of parallel moves to a sequential list of moves.
234 LGapResolver resolver_;
235
233 friend class LDeferredCode; 236 friend class LDeferredCode;
234 friend class LEnvironment; 237 friend class LEnvironment;
235 friend class SafepointGenerator; 238 friend class SafepointGenerator;
236 DISALLOW_COPY_AND_ASSIGN(LCodeGen); 239 DISALLOW_COPY_AND_ASSIGN(LCodeGen);
237 }; 240 };
238 241
239 242
240 class LDeferredCode: public ZoneObject { 243 class LDeferredCode: public ZoneObject {
241 public: 244 public:
242 explicit LDeferredCode(LCodeGen* codegen) 245 explicit LDeferredCode(LCodeGen* codegen)
(...skipping 15 matching lines...) Expand all
258 private: 261 private:
259 LCodeGen* codegen_; 262 LCodeGen* codegen_;
260 Label entry_; 263 Label entry_;
261 Label exit_; 264 Label exit_;
262 Label* external_exit_; 265 Label* external_exit_;
263 }; 266 };
264 267
265 } } // namespace v8::internal 268 } } // namespace v8::internal
266 269
267 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_ 270 #endif // V8_IA32_LITHIUM_CODEGEN_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/ia32/lithium-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698