[svn:parrot] r44619 - in trunk: include/parrot lib/Parrot/Ops2c

cotto at svn.parrot.org cotto at svn.parrot.org
Thu Mar 4 04:47:39 UTC 2010


Author: cotto
Date: Thu Mar  4 04:47:38 2010
New Revision: 44619
URL: https://trac.parrot.org/parrot/changeset/44619

Log:
[ops] remove unused flags member from op_info_t struct

Modified:
   trunk/include/parrot/op.h
   trunk/lib/Parrot/Ops2c/Utils.pm

Modified: trunk/include/parrot/op.h
==============================================================================
--- trunk/include/parrot/op.h	Thu Mar  4 04:27:21 2010	(r44618)
+++ trunk/include/parrot/op.h	Thu Mar  4 04:47:38 2010	(r44619)
@@ -76,7 +76,6 @@
     arg_type_t     types[PARROT_MAX_ARGS];  /* arg_type_t, 0 = 1st arg */
     arg_dir_t      dirs[PARROT_MAX_ARGS];   /* arg_dir_t   0 = 1st arg */
     char           labels[PARROT_MAX_ARGS]; /* 0/1         0 = 1st arg */
-    unsigned int   flags;
 } op_info_t;
 
 

Modified: trunk/lib/Parrot/Ops2c/Utils.pm
==============================================================================
--- trunk/lib/Parrot/Ops2c/Utils.pm	Thu Mar  4 04:27:21 2010	(r44618)
+++ trunk/lib/Parrot/Ops2c/Utils.pm	Thu Mar  4 04:47:38 2010	(r44619)
@@ -826,7 +826,6 @@
                 ? $op->labels
                 : 0
                 ) . " }";
-            my $flags = 0;
 
             print $fh <<END_C;
   { /* $self->{index} */
@@ -839,8 +838,7 @@
     $arg_count,
     $arg_types,
     $arg_dirs,
-    $labels,
-    $flags
+    $labels
   },
 END_C
 


More information about the parrot-commits mailing list