Mesa (master): gallivm: Add MCRegisterInfo. h to silence benign warnings about missing implementation.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Tue May 15 22:46:08 UTC 2012


Module: Mesa
Branch: master
Commit: 563489e5c922481a9a506fc5405a3dacacd6082e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=563489e5c922481a9a506fc5405a3dacacd6082e

Author: José Fonseca <jfonseca at vmware.com>
Date:   Tue May 15 05:10:26 2012 -0700

gallivm: Add MCRegisterInfo.h to silence benign warnings about missing implementation.

Trivial.

---

 src/gallium/auxiliary/gallivm/lp_bld_debug.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
index 9cf2094..444b70a 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
@@ -53,6 +53,9 @@
 #include <llvm/MC/MCInst.h>
 #include <llvm/MC/MCInstPrinter.h>
 #endif /* HAVE_LLVM >= 0x0207 */
+#if HAVE_LLVM >= 0x0301
+#include <llvm/MC/MCRegisterInfo.h>
+#endif /* HAVE_LLVM >= 0x0301 */
 
 #include "util/u_math.h"
 #include "util/u_debug.h"




More information about the mesa-commit mailing list