[svn:parrot] r44685 - branches/ops_pct/compilers/opsc/src/Ops/Trans

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Mar 6 09:50:17 UTC 2010


Author: bacek
Date: Sat Mar  6 09:50:16 2010
New Revision: 44685
URL: https://trac.parrot.org/parrot/changeset/44685

Log:
Use accessor instead of direct hash access to Emitter.syn_export

Modified:
   branches/ops_pct/compilers/opsc/src/Ops/Trans/C.pm

Modified: branches/ops_pct/compilers/opsc/src/Ops/Trans/C.pm
==============================================================================
--- branches/ops_pct/compilers/opsc/src/Ops/Trans/C.pm	Sat Mar  6 09:43:17 2010	(r44684)
+++ branches/ops_pct/compilers/opsc/src/Ops/Trans/C.pm	Sat Mar  6 09:50:16 2010	(r44685)
@@ -23,7 +23,7 @@
         #say("# preparing " ~ $op);
         my $func_name := self.suffix ~ $op.full_name;
         my $definition := "opcode_t *\n$func_name (opcode_t *cur_opcode, PARROT_INTERP)";
-        my $prototype := ~$emitter<sym_export>
+        my $prototype := $emitter.sym_export
                 ~ "opcode_t * $func_name (opcode_t *cur_opcode, PARROT_INTERP);\n";
 
         my $src := $op.source( self );


More information about the parrot-commits mailing list