mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Changes to build successfully with GCC 3.02
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -159,7 +159,7 @@ bool opt::ConstantFoldTerminator(TerminatorInst *T) {
|
||||
bool opt::ConstantPropogation::doConstantPropogation(BasicBlock *BB,
|
||||
BasicBlock::iterator &II) {
|
||||
Instruction *Inst = *II;
|
||||
if (BinaryOperator *BInst = dyn_cast<BinaryOperator>(Inst)) {
|
||||
if (isa<BinaryOperator>(Inst)) {
|
||||
Constant *D1 = dyn_cast<Constant>(Inst->getOperand(0));
|
||||
Constant *D2 = dyn_cast<Constant>(Inst->getOperand(1));
|
||||
|
||||
|
Reference in New Issue
Block a user