cvsuser 04/05/09 02:42:53
Modified: imcc pbc.c
Log:
properly fixup func() labels as globals
Revision Changes Path
1.78 +1 -1 parrot/imcc/pbc.c
Index: pbc.c
===================================================================
RCS file: /cvs/public/parrot/imcc/pbc.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -w -r1.77 -r1.78
--- pbc.c 8 May 2004 08:27:52 -0000 1.77
+++ pbc.c 9 May 2004 09:42:53 -0000 1.78
@@ -281,7 +281,7 @@
/* This is hackish but its better to have it here than in the
* fixup code until we decide if we need the _globallabel semantic.
*/
- if (r->name[0] == '_')
+ if (r->name[0] == '_' || (r->usage & U_FIXUP))
bsr->usage |= U_FIXUP;
}