[svn:parrot] r47844 - branches/gsoc_past_optimization/runtime/parrot/library/PAST
tcurtis at svn.parrot.org
tcurtis at svn.parrot.org
Fri Jun 25 23:21:28 UTC 2010
Author: tcurtis
Date: Fri Jun 25 23:21:28 2010
New Revision: 47844
URL: https://trac.parrot.org/parrot/changeset/47844
Log:
Remove unnecessary multi specialization for PAST::Walker.
Modified:
branches/gsoc_past_optimization/runtime/parrot/library/PAST/Walker.nqp
Modified: branches/gsoc_past_optimization/runtime/parrot/library/PAST/Walker.nqp
==============================================================================
--- branches/gsoc_past_optimization/runtime/parrot/library/PAST/Walker.nqp Fri Jun 25 22:57:53 2010 (r47843)
+++ branches/gsoc_past_optimization/runtime/parrot/library/PAST/Walker.nqp Fri Jun 25 23:21:28 2010 (r47844)
@@ -7,14 +7,11 @@
pir::load_bytecode('Tree/Walker.pbc');
}
+# Doesn't actually have any unique behavior, but separating it out is good
+# for readability, documentation, and in case we end up needing to change
+# its behavior later.
class PAST::Walker is Tree::Walker { }
-module Tree::Walker {
- our multi sub walk (PAST::Walker $walker, PAST::Node $node) {
- walkChildren($walker, $node);
- }
-}
-
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
More information about the parrot-commits
mailing list