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

Unified Diff: src/ia32/lithium-gap-resolver-ia32.cc

Issue 6366003: Port new version of ParallelMove's LGapResolver to X64. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
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 side-by-side diff with in-line comments
Download patch
Index: src/ia32/lithium-gap-resolver-ia32.cc
===================================================================
--- src/ia32/lithium-gap-resolver-ia32.cc (revision 6414)
+++ src/ia32/lithium-gap-resolver-ia32.cc (working copy)
@@ -32,12 +32,8 @@
namespace internal {
LGapResolver::LGapResolver(LCodeGen* owner)
- : cgen_(owner), moves_(32), spilled_register_(-1) {
- for (int i = 0; i < Register::kNumAllocatableRegisters; ++i) {
- source_uses_[i] = 0;
- destination_uses_[i] = 0;
- }
-}
+ : cgen_(owner), moves_(32), source_uses_(), destination_uses_(),
Kevin Millikin (Chromium) 2011/01/24 14:57:12 I prefer treating the initializers like arguments
William Hesse 2011/01/26 10:05:57 Done.
+ spilled_register_(-1) {}
void LGapResolver::Resolve(LParallelMove* parallel_move) {
« no previous file with comments | « src/SConscript ('k') | src/x64/lithium-codegen-x64.h » ('j') | src/x64/lithium-codegen-x64.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698