projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2e343d
)
llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT
author
Brian Paul
<brianp@vmware.com>
Wed, 5 May 2010 02:46:04 +0000
(20:46 -0600)
committer
Brian Paul
<brianp@vmware.com>
Wed, 5 May 2010 02:46:27 +0000
(20:46 -0600)
src/gallium/drivers/llvmpipe/lp_jit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_jit.c
b/src/gallium/drivers/llvmpipe/lp_jit.c
index 30e206a2b42001d428ff5ed35fc2475d506766dd..b10ee7a463a3d1f258051b5db03ca2ef30208472 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_jit.c
+++ b/
src/gallium/drivers/llvmpipe/lp_jit.c
@@
-151,9
+151,8
@@
lp_jit_init_globals(struct llvmpipe_screen *screen)
screen->context_ptr_type = LLVMPointerType(context_type, 0);
}
-#ifdef DEBUG
- LLVMDumpModule(screen->module);
-#endif
+ if (LP_DEBUG & DEBUG_JIT)
+ LLVMDumpModule(screen->module);
}