[llvm-commits] [llvm-gcc-4.2] r97962 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Devang Patel
dpatel at apple.com
Mon Mar 8 11:20:19 PST 2010
Author: dpatel
Date: Mon Mar 8 13:20:18 2010
New Revision: 97962
URL: http://llvm.org/viewvc/llvm-project?rev=97962&view=rev
Log:
Revert r97948.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=97962&r1=97961&r2=97962&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Mon Mar 8 13:20:18 2010
@@ -1147,7 +1147,7 @@
MainTy = getOrCreateType(TYPE_MAIN_VARIANT(type));
DIType Ty = createVariantType(type, MainTy);
- if (!Ty.isValid())
+ if (!Ty.isNull())
return Ty;
// Work out details of type.
More information about the llvm-commits
mailing list