gallivm: comment out LLVMUnionTypeKind case
authorBrian Paul <brianp@vmware.com>
Wed, 12 May 2010 16:54:45 +0000 (10:54 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 12 May 2010 16:54:45 +0000 (10:54 -0600)
src/gallium/auxiliary/gallivm/lp_bld_type.c

index a86ef03e41c7f52f9173f71e0d017e6283ef74c1..9028963139718c0368a5a7a563305a9bc3c0c107 100644 (file)
@@ -275,8 +275,10 @@ lp_typekind_name(LLVMTypeKind t)
       return "LLVMVectorTypeKind";
    case LLVMMetadataTypeKind:
       return "LLVMMetadataTypeKind";
+   /* Only in LLVM 2.7 and later???
    case LLVMUnionTypeKind:
       return "LLVMUnionTypeKind";
+   */
    default:
       return "unknown LLVMTypeKind";
    }