[svn:parrot] r47635 - branches/gsoc_past_optimization/runtime/parrot/library/PAST/Pattern
tcurtis at svn.parrot.org
tcurtis at svn.parrot.org
Tue Jun 15 03:44:13 UTC 2010
Author: tcurtis
Date: Tue Jun 15 03:44:12 2010
New Revision: 47635
URL: https://trac.parrot.org/parrot/changeset/47635
Log:
Remove a block that does nothing.
Modified:
branches/gsoc_past_optimization/runtime/parrot/library/PAST/Pattern/Node.nqp
Modified: branches/gsoc_past_optimization/runtime/parrot/library/PAST/Pattern/Node.nqp
==============================================================================
--- branches/gsoc_past_optimization/runtime/parrot/library/PAST/Pattern/Node.nqp Tue Jun 15 00:38:58 2010 (r47634)
+++ branches/gsoc_past_optimization/runtime/parrot/library/PAST/Pattern/Node.nqp Tue Jun 15 03:44:12 2010 (r47635)
@@ -70,10 +70,6 @@
unless pir::defined__IP($pAttr) {
return 1;
}
- unless pir::defined__IP($pAttr) {
- $/.success(0);
- return 0;
- }
my $nAttr := $node.attr($attribute, null, 0);
my $result :=
($pAttr ~~ PAST::Pattern
More information about the parrot-commits
mailing list