Mesa (mesa_7_6_branch): x86: ifdef out unused function cptr.

Vinson Lee vlee at kemper.freedesktop.org
Tue Dec 15 12:33:54 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 987e9188d25e7c49eb7e6fe64dbe63dd2cfc25ef
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=987e9188d25e7c49eb7e6fe64dbe63dd2cfc25ef

Author: Vinson Lee <vlee at vmware.com>
Date:   Tue Dec 15 12:32:48 2009 -0800

x86: ifdef out unused function cptr.

---

 src/mesa/x86/rtasm/x86sse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/mesa/x86/rtasm/x86sse.c b/src/mesa/x86/rtasm/x86sse.c
index 5aedf5b..647be99 100644
--- a/src/mesa/x86/rtasm/x86sse.c
+++ b/src/mesa/x86/rtasm/x86sse.c
@@ -7,10 +7,12 @@
 #define DISASSEM 0
 #define X86_TWOB 0x0f
 
+#if 0
 static unsigned char *cptr( void (*label)() )
 {
    return (unsigned char *)(unsigned long)label;
 }
+#endif
 
 
 static void do_realloc( struct x86_function *p )



More information about the mesa-commit mailing list