OSDN Git Service

remove unused new_cjump()
authorBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 18:29:22 +0000 (11:29 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 18:29:22 +0000 (11:29 -0700)
src/mesa/shader/slang/slang_codegen.c

index 570a946..de78c2b 100644 (file)
@@ -455,20 +455,6 @@ new_float_literal(const float v[4])
 }
 
 /**
- * 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.
  */
 static slang_ir_node *