mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -211,8 +211,8 @@ public:
|
||||
// If the first node isn't one we're interested in, advance to one that
|
||||
// we are interested in.
|
||||
if (op) {
|
||||
if (!ReturnUses && op->isUse() ||
|
||||
!ReturnDefs && op->isDef())
|
||||
if ((!ReturnUses && op->isUse()) ||
|
||||
(!ReturnDefs && op->isDef()))
|
||||
++*this;
|
||||
}
|
||||
}
|
||||
@@ -240,8 +240,8 @@ public:
|
||||
Op = Op->getNextOperandForReg();
|
||||
|
||||
// If this is an operand we don't care about, skip it.
|
||||
while (Op && (!ReturnUses && Op->isUse() ||
|
||||
!ReturnDefs && Op->isDef()))
|
||||
while (Op && ((!ReturnUses && Op->isUse()) ||
|
||||
(!ReturnDefs && Op->isDef())))
|
||||
Op = Op->getNextOperandForReg();
|
||||
|
||||
return *this;
|
||||
|
||||
Reference in New Issue
Block a user