mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Fix VC++ compilation error.
llvm-svn: 28117
This commit is contained in:
parent
60c4e49b4e
commit
953baf0494
@ -541,7 +541,7 @@ static bool isFloater(const SUnit *SU) {
|
||||
|
||||
static bool isSimpleFloaterUse(const SUnit *SU) {
|
||||
unsigned NumOps = 0;
|
||||
for (std::set<std::pair<SUnit*, bool> >::iterator I = SU->Preds.begin(),
|
||||
for (std::set<std::pair<SUnit*, bool> >::const_iterator I = SU->Preds.begin(),
|
||||
E = SU->Preds.end(); I != E; ++I) {
|
||||
if (I->second) continue;
|
||||
if (++NumOps > 1)
|
||||
|
Loading…
Reference in New Issue
Block a user