Whoops, accidentally deleted state_MOVA(). trunk
authorRyan C. Gordon <icculus@icculus.org>
Tue, 22 Apr 2008 02:17:32 -0400
branchtrunk
changeset 176 e0e7def8f876
parent 175 6fadb48dd4a1
child 177 ca94ec9366f7
Whoops, accidentally deleted state_MOVA().
mojoshader.c
--- a/mojoshader.c	Tue Apr 22 02:16:15 2008 -0400
+++ b/mojoshader.c	Tue Apr 22 02:17:32 2008 -0400
@@ -3715,6 +3715,12 @@
         check_call_loop_wrappage(ctx, ctx->source_args[0].regnum);
 } // state_CALLNZ
 
+static void state_MOVA(Context *ctx)
+{
+    if (ctx->dest_arg.regtype != REG_TYPE_ADDRESS)
+        fail(ctx, "MOVA argument isn't address register");
+} // state_MOVA
+
 static void state_LOOP(Context *ctx)
 {
     if (ctx->source_args[0].regtype != REG_TYPE_LOOP)