aboutsummaryrefslogtreecommitdiffstats
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
commit70ffb9f4849dd03e515f900a40a8b9246bf9480b (patch)
treee8889fb5f325477612697fb87234d31b2234c970
parent12a04d64a0b5face1fbfa2d29052092ff8b56ea5 (diff)
downloadexternal_llvm-70ffb9f4849dd03e515f900a40a8b9246bf9480b.zip
external_llvm-70ffb9f4849dd03e515f900a40a8b9246bf9480b.tar.gz
external_llvm-70ffb9f4849dd03e515f900a40a8b9246bf9480b.tar.bz2
Delete duplicate function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105827 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Analysis/DebugInfo.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index a7b6d2b..46abf33 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/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
//===----------------------------------------------------------------------===//