[llvm-commits] [llvm] r111687 - in /llvm/trunk: include/llvm/Analysis/DebugInfo.h lib/Analysis/DebugInfo.cpp

Dan Gohman gohman at apple.com
Fri Aug 20 15:39:47 PDT 2010


Author: djg
Date: Fri Aug 20 17:39:47 2010
New Revision: 111687

URL: http://llvm.org/viewvc/llvm-project?rev=111687&view=rev
Log:
CreateTemporaryType doesn't needs its Context argument.

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

Modified: llvm/trunk/include/llvm/Analysis/DebugInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/DebugInfo.h?rev=111687&r1=111686&r2=111687&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/DebugInfo.h (original)
+++ llvm/trunk/include/llvm/Analysis/DebugInfo.h Fri Aug 20 17:39:47 2010
@@ -655,7 +655,7 @@
                                         MDNode *ContainingType = 0);
 
     /// CreateTemporaryType - Create a temporary forward-declared type.
-    DIType CreateTemporaryType(DIDescriptor Context);
+    DIType CreateTemporaryType();
 
     /// CreateArtificialType - Create a new DIType with "artificial" flag set.
     DIType CreateArtificialType(DIType Ty);

Modified: llvm/trunk/lib/Analysis/DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/DebugInfo.cpp?rev=111687&r1=111686&r2=111687&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/DebugInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/DebugInfo.cpp Fri Aug 20 17:39:47 2010
@@ -937,7 +937,7 @@
 
 
 /// CreateTemporaryType - Create a temporary forward-declared type.
-DIType DIFactory::CreateTemporaryType(DIDescriptor Context) {
+DIType DIFactory::CreateTemporaryType() {
   // Give the temporary MDNode a tag. It doesn't matter what tag we
   // use here as long as DIType accepts it.
   Value *Elts[] = {





More information about the llvm-commits mailing list