Note to self. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 03 Apr 2008 10:05:58 -0400
branchtrunk
changeset 81 367a2d5bba25
parent 80 1aacf1be7095
child 82 dc7ad4cea75b
Note to self.
mojoshader.c
--- a/mojoshader.c	Thu Apr 03 10:02:22 2008 -0400
+++ b/mojoshader.c	Thu Apr 03 10:05:58 2008 -0400
@@ -1863,6 +1863,9 @@
     if (!get_bit_array(ctx->labels_called, sizeof (ctx->labels_called), label))
         ctx->output = &ctx->ignore;  // Func not used. Parse, but don't output.
 
+    // !!! FIXME: it would be nice if we could determine if a function is
+    // !!! FIXME:  only called once and, if so, forcibly inline it.
+
     output_line(ctx, "void %s(void)", labelstr);
     output_line(ctx, "{");
     ctx->indent++;