mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix VC++ compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28117 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7328797b16
commit
4b75e73791
@ -541,7 +541,7 @@ static bool isFloater(const SUnit *SU) {
|
|||||||
|
|
||||||
static bool isSimpleFloaterUse(const SUnit *SU) {
|
static bool isSimpleFloaterUse(const SUnit *SU) {
|
||||||
unsigned NumOps = 0;
|
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) {
|
E = SU->Preds.end(); I != E; ++I) {
|
||||||
if (I->second) continue;
|
if (I->second) continue;
|
||||||
if (++NumOps > 1)
|
if (++NumOps > 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user