From b6ac05ba9d3a42dc605ff003fc5edc0a074b6529 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 5 Dec 2009 15:49:53 -0700 Subject: [PATCH] remove unecessary code from resolveSourceSites and resolveTargetSites --- src/compiler.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/compiler.cpp b/src/compiler.cpp index c13d00a222..e815b0103c 100644 --- a/src/compiler.cpp +++ b/src/compiler.cpp @@ -5294,10 +5294,6 @@ resolveSourceSites(Context* c, Event* e, SiteRecordList* frozen, Site** sites) Site* s = pickSourceSite (c, r, 0, 0, &mask, true, false, true, acceptForResolve); - if (s == 0) { - s = pickSourceSite - (c, r, 0, 0, &mask, false, false, true, acceptForResolve); - } if (s) { if (DebugControl) { @@ -5332,12 +5328,9 @@ resolveTargetSites(Context* c, Event* e, SiteRecordList* frozen, Site** sites) Site* s = pickSourceSite (c, r, 0, 0, &mask, true, true, true, acceptForResolve); + if (s == 0) { - s = pickSourceSite - (c, r, 0, 0, &mask, false, true, true, acceptForResolve); - if (s == 0) { - s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount); - } + s = maybeMove(c, v, mask, false, true, ResolveRegisterReserveCount); } freeze(c, frozen, s, v);