From: Brian Date: Thu, 8 Mar 2007 18:29:22 +0000 (-0700) Subject: remove unused new_cjump() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec89aba7c6de29e1dc24b04740b0716e18028b12;p=mesa.git remove unused new_cjump() --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 570a946aa76..de78c2b8c77 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -454,20 +454,6 @@ new_float_literal(const float v[4]) return n; } -/** - * Conditional jump. - * \param zeroOrOne indicates if the jump is to be taken on zero, or non-zero - * condition code state. - */ -static slang_ir_node * -new_cjump(slang_label *dest, GLuint zeroOrOne) -{ - slang_ir_node *n = new_node0(zeroOrOne ? IR_CJUMP1 : IR_CJUMP0); - if (n) - n->Label = dest; - return n; -} - /** * Unconditional jump. */