[svn:parrot] r44589 - branches/ops_pct/compilers/opsc/src/Ops
bacek at svn.parrot.org
bacek at svn.parrot.org
Tue Mar 2 11:12:54 UTC 2010
Author: bacek
Date: Tue Mar 2 11:12:53 2010
New Revision: 44589
URL: https://trac.parrot.org/parrot/changeset/44589
Log:
Remove Ops::Op.full_body stub. It's useless.
Modified:
branches/ops_pct/compilers/opsc/src/Ops/Op.pm
Modified: branches/ops_pct/compilers/opsc/src/Ops/Op.pm
==============================================================================
--- branches/ops_pct/compilers/opsc/src/Ops/Op.pm Tue Mar 2 11:12:28 2010 (r44588)
+++ branches/ops_pct/compilers/opsc/src/Ops/Op.pm Tue Mar 2 11:12:53 2010 (r44589)
@@ -182,23 +182,6 @@
=begin
-=item C<full_body()>
-
-For manual ops, C<full_body()> is the same as C<body()>. For auto ops
-this method adds a final C<goto NEXT()> line to the code to represent
-the auto-computed return value. See the note on op types above.
-
-=end
-
-method full_body() {
- my $body := self.body;
-
- # FIXME
- #$body := $body ~ '_' ~ sprintf( " {{+=%d}};\n", self.size ) if self.type eq 'auto';
-
- $body;
-}
-
=begin
# Called from rewrite_body() to perform the actual substitutions.
More information about the parrot-commits
mailing list