llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT
This commit is contained in:
parent
b2e343daab
commit
1169d8619a
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue