diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 20:32:24 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-05-20 20:32:24 +0000 |
commit | a98cd4578f6c27bed2b04c09f4d71e5381a9bd40 (patch) | |
tree | f30df36c74a814481f8e18ad8de1e3da35461dd6 /lib/Target/SparcV9/LiveVar/BBLiveVar.cpp | |
parent | f117cc9ee656fa31ea933127757ffc9cd5f21a76 (diff) |
Sparc instruction opcodes now all live under the `V9' namespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6249 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/LiveVar/BBLiveVar.cpp')
-rw-r--r-- | lib/Target/SparcV9/LiveVar/BBLiveVar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp b/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp index cf3e5b32a3..fceb6bb8e4 100644 --- a/lib/Target/SparcV9/LiveVar/BBLiveVar.cpp +++ b/lib/Target/SparcV9/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 |