[llvm-commits] [llvm] r105827 - /llvm/trunk/lib/Analysis/DebugInfo.cpp

Stuart Hastings stuart at apple.com
Fri Jun 11 13:05:01 PDT 2010


Author: stuart
Date: Fri Jun 11 15:05:01 2010
New Revision: 105827

URL: http://llvm.org/viewvc/llvm-project?rev=105827&view=rev
Log:
Delete duplicate function.

Modified:
    llvm/trunk/lib/Analysis/DebugInfo.cpp

Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=105827&r1=105826&r2=105827&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri Jun 11 15:05:01 2010
@@ -1110,18 +1110,6 @@
   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
 //===----------------------------------------------------------------------===//





More information about the llvm-commits mailing list