[svn:parrot] r47839 - trunk/compilers/pct/src/PAST

chromatic at svn.parrot.org chromatic at svn.parrot.org
Fri Jun 25 18:49:10 UTC 2010


Author: chromatic
Date: Fri Jun 25 18:49:10 2010
New Revision: 47839
URL: https://trac.parrot.org/parrot/changeset/47839

Log:
[PCT] Removed unnecessary passthrough method.

PAST::OP::lvalue() was redundant (TT #812, Austin Hastings, patch by Kartik
Thakore).

Modified:
   trunk/compilers/pct/src/PAST/Node.pir

Modified: trunk/compilers/pct/src/PAST/Node.pir
==============================================================================
--- trunk/compilers/pct/src/PAST/Node.pir	Fri Jun 25 18:27:31 2010	(r47838)
+++ trunk/compilers/pct/src/PAST/Node.pir	Fri Jun 25 18:49:10 2010	(r47839)
@@ -406,14 +406,6 @@
 Get/set whether this node is an lvalue, or treats its first
 child as an lvalue (e.g., for assignment).
 
-=cut
-
-.sub 'lvalue' :method
-    .param pmc value           :optional
-    .param int has_value       :opt_flag
-    .tailcall self.'attr'('lvalue', value, has_value)
-.end
-
 =item inline([STRING code])
 
 Get/set the code to be used for inline PIR when C<pasttype> is


More information about the parrot-commits mailing list