diff options
Diffstat (limited to 'lib/Analysis/LiveVar')
| -rw-r--r-- | lib/Analysis/LiveVar/BBLiveVar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/LiveVar/BBLiveVar.cpp b/lib/Analysis/LiveVar/BBLiveVar.cpp index cf3e5b3..fceb6bb 100644 --- a/lib/Analysis/LiveVar/BBLiveVar.cpp +++ b/lib/Analysis/LiveVar/BBLiveVar.cpp @@ -91,7 +91,7 @@ void BBLiveVar::calcDefUseSets() { // Put Phi operands in UseSet for the incoming edge, not node. // They must not "hide" later defs, and must be handled specially // during set propagation over the CFG. - if (MI->getOpCode() == PHI) { // for a phi node + if (MI->getOpCode() == V9::PHI) { // for a phi node const Value *ArgVal = Op; const BasicBlock *PredBB = cast<BasicBlock>(*++OpI); // next ptr is BB @@ -110,7 +110,7 @@ void BBLiveVar::calcDefUseSets() { // do for implicit operands as well for (unsigned i = 0; i < MI->getNumImplicitRefs(); ++i) { - assert(MI->getOpCode() != PHI && "Phi cannot have implicit opeands"); + assert(MI->getOpCode() != V9::PHI && "Phi cannot have implicit opeands"); const Value *Op = MI->getImplicitRef(i); if (Op->getType() == Type::LabelTy) // don't process labels |
