llvmpipe: predicate LLVMDumpModule() on DEBUG_JIT

This commit is contained in:
Brian Paul 2010-05-04 20:46:04 -06:00
parent b2e343daab
commit 1169d8619a
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}