summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorStuart Hastings <stuart@apple.com>2010-06-11 20:05:01 +0000
committerStuart Hastings <stuart@apple.com>2010-06-11 20:05:01 +0000
commit6111abf8ad70095be2214f8354045412a9bee126 (patch)
treef6824901c0df7bd17ec0259048b97ba5445d17ec /llvm/lib/Analysis/DebugInfo.cpp
parent90987eebfd0172e620bb5f833294fb67eeb53685 (diff)
downloadbcm5719-llvm-6111abf8ad70095be2214f8354045412a9bee126.tar.gz
bcm5719-llvm-6111abf8ad70095be2214f8354045412a9bee126.zip
Delete duplicate function.
llvm-svn: 105827
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index a7b6d2b65ee..46abf333398 100644
--- a/llvm/lib/Analysis/DebugInfo.cpp
+++ b/llvm/lib/Analysis/DebugInfo.cpp
@@ -1110,18 +1110,6 @@ DILocation DIFactory::CreateLocation(unsigned LineNo, unsigned ColumnNo,
return DILocation(MDNode::get(VMContext, &Elts[0], 4));
}
-/// CreateLocation - Creates a debug info location.
-DILocation DIFactory::CreateLocation(unsigned LineNo, unsigned ColumnNo,
- DIScope S, MDNode *OrigLoc) {
- Value *Elts[] = {
- ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
- ConstantInt::get(Type::getInt32Ty(VMContext), ColumnNo),
- S,
- OrigLoc
- };
- return DILocation(MDNode::get(VMContext, &Elts[0], 4));
-}
-
//===----------------------------------------------------------------------===//
// DIFactory: Routines for inserting code into a function
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud