[svn:parrot] r44708 - trunk/lib/Parrot

cotto at svn.parrot.org cotto at svn.parrot.org
Sat Mar 6 18:53:43 UTC 2010


Author: cotto
Date: Sat Mar  6 18:53:43 2010
New Revision: 44708
URL: https://trac.parrot.org/parrot/changeset/44708

Log:
[ops2c] remove a substitution that seems to have outlived its usefulness

Modified:
   trunk/lib/Parrot/Op.pm

Modified: trunk/lib/Parrot/Op.pm
==============================================================================
--- trunk/lib/Parrot/Op.pm	Sat Mar  6 18:41:17 2010	(r44707)
+++ trunk/lib/Parrot/Op.pm	Sat Mar  6 18:53:43 2010	(r44708)
@@ -343,15 +343,6 @@
 sub rewrite_body {
     my ( $self, $body, $trans, $preamble_only ) = @_;
 
-    # use vtable macros
-    $body =~ s!
-        (?:
-            {{\@\d+\}}
-            |
-            \b\w+(?:->\w+)*
-        )->vtable->\s*(\w+)\(
-        !VTABLE_$1(!sgx;
-
     while (1) {
         my $new_body = $self->_substitute( $body, $trans, !!$preamble_only );
 


More information about the parrot-commits mailing list