summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-05-12 10:54:45 -0600
committerBrian Paul <[email protected]>2010-05-12 10:54:45 -0600
commitfcf532ce6f4812d3cc0d3a0697c965fa354dd697 (patch)
tree94d92ca6b74f5f1155869788f459ea3181bd52d7
parent1cd31459afa7ea859a7c1e6abb1fc4ae2f0060ed (diff)
gallivm: comment out LLVMUnionTypeKind case
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_type.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_type.c b/src/gallium/auxiliary/gallivm/lp_bld_type.c
index a86ef03e41c..90289631397 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_type.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_type.c
@@ -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";
}