diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-07-06 17:46:28 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-07-06 17:46:28 +0000 |
commit | 0735e81b3a85e5c971a143599d34df34887ef978 (patch) | |
tree | 0836d33f23c41fd54dfe7c39492b34e82413bf27 /lib/VMCore | |
parent | 6016a4a1627726b7419e1c95c6c3e67138100d23 (diff) | |
download | external_llvm-0735e81b3a85e5c971a143599d34df34887ef978.zip external_llvm-0735e81b3a85e5c971a143599d34df34887ef978.tar.gz external_llvm-0735e81b3a85e5c971a143599d34df34887ef978.tar.bz2 |
Remove unnecessary 'llvm::'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/DebugInfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/DebugInfo.cpp b/lib/VMCore/DebugInfo.cpp index 78df0aa..d7144ad 100644 --- a/lib/VMCore/DebugInfo.cpp +++ b/lib/VMCore/DebugInfo.cpp @@ -112,16 +112,16 @@ Function *DIDescriptor::getFunctionField(unsigned Elt) const { } unsigned DIVariable::getNumAddrElements() const { - if (getVersion() <= llvm::LLVMDebugVersion8) + if (getVersion() <= LLVMDebugVersion8) return DbgNode->getNumOperands()-6; - if (getVersion() == llvm::LLVMDebugVersion9) + if (getVersion() == LLVMDebugVersion9) return DbgNode->getNumOperands()-7; return DbgNode->getNumOperands()-8; } /// getInlinedAt - If this variable is inlined then return inline location. MDNode *DIVariable::getInlinedAt() const { - if (getVersion() <= llvm::LLVMDebugVersion9) + if (getVersion() <= LLVMDebugVersion9) return NULL; return dyn_cast_or_null<MDNode>(DbgNode->getOperand(7)); } @@ -734,7 +734,7 @@ DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { // Insert inlined scope as 7th element. for (unsigned i = 0, e = DV->getNumOperands(); i != e; ++i) i == 7 ? - Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): + Elts.push_back(Constant::getNullValue(Type::getInt32Ty(VMContext))): Elts.push_back(DV->getOperand(i)); return DIVariable(MDNode::get(VMContext, Elts)); } |