diff options
author | José Fonseca <[email protected]> | 2009-11-23 11:21:11 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-11-24 14:25:21 +0000 |
commit | 4ae3e88dc9856f2f32c37dd04a3321765ed61e07 (patch) | |
tree | a7883f25d739f35eb976f7fd4b3f38a4225746dc /src/gallium/drivers/llvmpipe/lp_jit.c | |
parent | 066991c8d147db94b9661361bb191919b962fc4e (diff) |
llvmpipe: Use assert instead of abort. Only verify functions on debug builds.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_jit.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_jit.c b/src/gallium/drivers/llvmpipe/lp_jit.c index 13535dd638e..c601c79480f 100644 --- a/src/gallium/drivers/llvmpipe/lp_jit.c +++ b/src/gallium/drivers/llvmpipe/lp_jit.c @@ -167,7 +167,7 @@ lp_jit_screen_init(struct llvmpipe_screen *screen) if (LLVMCreateJITCompiler(&screen->engine, screen->provider, 1, &error)) { _debug_printf("%s\n", error); LLVMDisposeMessage(error); - abort(); + assert(0); } screen->target = LLVMGetExecutionEngineTargetData(screen->engine); |