Author: dpatel
Date: Tue Aug 10 15:16:57 2010
New Revision: 110716

URL: http://llvm.org/viewvc/llvm-project?rev=110716&view=rev
Log:
Simplify

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=110716&r1=110715&r2=110716&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Tue Aug 10 15:16:57 2010
@@ -1814,8 +1814,7 @@
     return;
   DebugFactory.CreateGlobalVariable(Unit, Name, Name, Name, Unit,
                                     getLineNumber(VD->getLocation()),
-                                    getOrCreateType(VD->getType(), Unit),
-                                    true, true, Init);
+                                    Ty, true, true, Init);
 }
 
 /// getOrCreateNamesSpace - Return namespace descriptor for the given


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to