[svn:parrot] r39987 - branches/ops_pct/compilers/opsc/op

bacek at svn.parrot.org bacek at svn.parrot.org
Sat Jul 11 02:33:56 UTC 2009


Author: bacek
Date: Sat Jul 11 02:33:56 2009
New Revision: 39987
URL: https://trac.parrot.org/parrot/changeset/39987

Log:
[opsc] Remove useless Op.new.

Modified:
   branches/ops_pct/compilers/opsc/op/op.pir

Modified: branches/ops_pct/compilers/opsc/op/op.pir
==============================================================================
--- branches/ops_pct/compilers/opsc/op/op.pir	Sat Jul 11 02:16:56 2009	(r39986)
+++ branches/ops_pct/compilers/opsc/op/op.pir	Sat Jul 11 02:33:56 2009	(r39987)
@@ -20,43 +20,6 @@
     .return ()
 .end
 
-=head1 NODES
-
-=head2 C<PMC::Class>
-
-PMC class by it self.
-
-=cut
-
-.namespace [ 'Ops';'Op' ]
-
-.sub 'new' :method
-    .param pmc children        :slurpy
-    .param pmc adverbs         :slurpy :named
-
-    .local pmc res
-    $P0 = self.'HOW'()
-    $P0 = getattribute $P0, 'parrotclass'
-    res = new $P0
-    res.'init'(children :flat, adverbs :flat :named)
-
-    # Initialize various attributes
-    #$P1 = new ['Hash']
-    #res.'attr'('op_flags', $P1, 1)
-
-    .return (res)
-.end
-
-=item C<does>
-
-How does this PMC act?.
-
-=cut
-
-#.sub 'op_flags' :method
-#    .tailcall self.'attr'('op_flags',0,0)
-#.end
-
 
 =head1 COPYRIGHT
 


More information about the parrot-commits mailing list