[svn:parrot] r48029 - branches/gsoc_past_optimization/t/library

tcurtis at svn.parrot.org tcurtis at svn.parrot.org
Wed Jul 7 15:14:16 UTC 2010


Author: tcurtis
Date: Wed Jul  7 15:14:15 2010
New Revision: 48029
URL: https://trac.parrot.org/parrot/changeset/48029

Log:
Failing test for walking of viviself attribute.

Modified:
   branches/gsoc_past_optimization/t/library/pastwalker.t

Modified: branches/gsoc_past_optimization/t/library/pastwalker.t
==============================================================================
--- branches/gsoc_past_optimization/t/library/pastwalker.t	Wed Jul  7 12:45:50 2010	(r48028)
+++ branches/gsoc_past_optimization/t/library/pastwalker.t	Wed Jul  7 15:14:15 2010	(r48029)
@@ -49,7 +49,7 @@
     $P2 = getattribute walker, 'counts'
 
     $P3 = $P2['blocks']
-    is($P3, 2, "PAST::Block")
+    is($P3, 3, "PAST::Block")
 
     $P3 = $P2['ops']
     is($P3, 3, "PAST::Op")
@@ -76,6 +76,8 @@
     $P0 = new ['PAST'; 'Op']
     $P0.'pirop'("call")
     $P1 = new ['PAST'; 'Var']
+    $P2 = new ['PAST'; 'Block']
+    $P1.'viviself'($P2)
     push $P0, $P1
     $P1 = new ['PAST'; 'Val']
     push $P0, $P1


More information about the parrot-commits mailing list