projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6314db
)
gallivm: Fix build with llvm 2.6 on 32bit platforms
author
José Fonseca
<jfonseca@vmware.com>
Sun, 13 Mar 2011 19:49:21 +0000
(19:49 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Sun, 13 Mar 2011 19:49:21 +0000
(19:49 +0000)
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 49388aadcc81e5846c9307a7f0f39e3311b72354..bb2c82fe0eddb5cb3c67525d223c3b560db1498c 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@
-111,6
+111,7
@@
lp_debug_dump_value(LLVMValueRef value)
}
+#if HAVE_LLVM >= 0x0207
/*
* MemoryObject wrapper around a buffer of memory, to be used by MC
* disassembler.
@@
-145,6
+146,7
@@
public:
return 0;
}
};
+#endif /* HAVE_LLVM >= 0x0207 */
/*
@@
-348,8
+350,8
@@
lp_disassemble(const void* func)
}
debug_printf("\n");
-#else
+#else
/* HAVE_LLVM < 0x0207 */
(void)func;
-#endif
+#endif
/* HAVE_LLVM < 0x0207 */
}