diff options
author | Stuart Hastings <stuart@apple.com> | 2010-06-11 20:05:01 +0000 |
---|---|---|
committer | Stuart Hastings <stuart@apple.com> | 2010-06-11 20:05:01 +0000 |
commit | 6111abf8ad70095be2214f8354045412a9bee126 (patch) | |
tree | f6824901c0df7bd17ec0259048b97ba5445d17ec /llvm/lib/Analysis/DebugInfo.cpp | |
parent | 90987eebfd0172e620bb5f833294fb67eeb53685 (diff) | |
download | bcm5719-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.cpp | 12 |
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 //===----------------------------------------------------------------------===// |