From ec89aba7c6de29e1dc24b04740b0716e18028b12 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 8 Mar 2007 11:29:22 -0700 Subject: remove unused new_cjump() --- src/mesa/shader/slang/slang_codegen.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/mesa/shader/slang/slang_codegen.c') 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. */ -- cgit v1.2.3