projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7304909
)
gallivm: Remove LLVMOpaqueKindType case with llvm-3.0.
author
Vinson Lee
<vlee@vmware.com>
Mon, 11 Jul 2011 19:48:06 +0000
(12:48 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Mon, 11 Jul 2011 19:48:06 +0000
(12:48 -0700)
llvm-3.0svn r134829 removed LLVMOpaqueKindType from enum LLVMTypeKind in
include/llvm-c/Core.h.
src/gallium/auxiliary/gallivm/lp_bld_type.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_type.c
b/src/gallium/auxiliary/gallivm/lp_bld_type.c
index c5cf6d4a6c4f85480287f7750304996b3e18fbf4..11a2b055cc20c1d47096bc0f752b798c7ff66aca 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_type.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_type.c
@@
-325,8
+325,10
@@
lp_typekind_name(LLVMTypeKind t)
return "LLVMArrayTypeKind";
case LLVMPointerTypeKind:
return "LLVMPointerTypeKind";
+#if HAVE_LLVM < 0x0300
case LLVMOpaqueTypeKind:
return "LLVMOpaqueTypeKind";
+#endif
case LLVMVectorTypeKind:
return "LLVMVectorTypeKind";
case LLVMMetadataTypeKind: