[svn:parrot] r44674 - branches/ops_pct/compilers/opsc/src/Ops/Compiler
bacek at svn.parrot.org
bacek at svn.parrot.org
Sat Mar 6 01:37:57 UTC 2010
Author: bacek
Date: Sat Mar 6 01:37:56 2010
New Revision: 44674
URL: https://trac.parrot.org/parrot/changeset/44674
Log:
Once again emit Ops::Op in Compiler::Action
Modified:
branches/ops_pct/compilers/opsc/src/Ops/Compiler/Actions.pm
Modified: branches/ops_pct/compilers/opsc/src/Ops/Compiler/Actions.pm
==============================================================================
--- branches/ops_pct/compilers/opsc/src/Ops/Compiler/Actions.pm Sat Mar 6 01:37:29 2010 (r44673)
+++ branches/ops_pct/compilers/opsc/src/Ops/Compiler/Actions.pm Sat Mar 6 01:37:56 2010 (r44674)
@@ -66,7 +66,7 @@
# We have to clone @norm_args. Otherwise it will be destroyed...
my @variants := expand_args(pir::clone__PP(@norm_args));
- my $op := PAST::Block.new(
+ my $op := Ops::Op.new(
:name(~$<op_name>),
$<op_body>.ast
@@ -84,7 +84,7 @@
if @variants {
for @variants {
my $new_op := pir::clone__PP($op);
- $new_op<args_types> := $_;
+ $new_op<arg_types> := $_;
$past.push($new_op);
}
}
More information about the parrot-commits
mailing list