[svn:parrot] r46424 - trunk/t/compilers/imcc/imcpasm

plobsing at svn.parrot.org plobsing at svn.parrot.org
Sun May 9 01:25:45 UTC 2010


Author: plobsing
Date: Sun May  9 01:25:45 2010
New Revision: 46424
URL: https://trac.parrot.org/parrot/changeset/46424

Log:
remove TT1281 todoed tests

Modified:
   trunk/t/compilers/imcc/imcpasm/opt0.t
   trunk/t/compilers/imcc/imcpasm/optc.t

Modified: trunk/t/compilers/imcc/imcpasm/opt0.t
==============================================================================
--- trunk/t/compilers/imcc/imcpasm/opt0.t	Sun May  9 01:18:37 2010	(r46423)
+++ trunk/t/compilers/imcc/imcpasm/opt0.t	Sun May  9 01:25:45 2010	(r46424)
@@ -5,27 +5,11 @@
 use strict;
 use warnings;
 use lib qw( . lib ../lib ../../lib );
-use Parrot::Test tests => 6;
+use Parrot::Test tests => 4;
 
 # these tests are run with -O0 by TestCompiler and show
 # generated PASM code for various optimizations at level 0
 
-SKIP: {
-    skip("disabled graph coloring register allocator, TT #1281", 1);
-pir_2_pasm_like( <<'CODE', <<'OUT', "add_n_i_n" );
-.sub _ :anon
-   add $N0, $I0, $N1
-   mul $N0, $I0, $N1
-.end
-CODE
-/set (N\d+), I0
-  add N0, \1, N1
-  set (N\d+), I0
-  mul N0, \2, N1/
-OUT
-}
-
-##############################
 pir_2_pasm_is( <<'CODE', <<'OUT', "sub_n_ic_n" );
 .sub _ :anon
    sub $N0, 2, $N1
@@ -42,25 +26,6 @@
 OUT
 
 ##############################
-SKIP: {
-    skip("disabled graph coloring register allocator, TT #1281", 1);
-pir_2_pasm_like( <<'CODE', <<'OUT', "sub_n_i_n" );
-.sub _test
-   sub $N0, $I0, $N1
-   div $N0, $I0, $N1
-.end
-CODE
-/_test:
-  set N(\d+), I0
-  sub N0, N\1, N1
-  set N(\d+), I0
-  div N0, N\2, N1
-  set_returns
-  returncc/
-OUT
-}
-
-##############################
 pir_2_pasm_is( <<'CODE', <<'OUT', "added return - end" );
 .sub _test
    noop

Modified: trunk/t/compilers/imcc/imcpasm/optc.t
==============================================================================
--- trunk/t/compilers/imcc/imcpasm/optc.t	Sun May  9 01:18:37 2010	(r46423)
+++ trunk/t/compilers/imcc/imcpasm/optc.t	Sun May  9 01:25:45 2010	(r46424)
@@ -5,7 +5,7 @@
 use strict;
 use warnings;
 use lib qw( . lib ../lib ../../lib );
-use Parrot::Test tests => 43;
+use Parrot::Test tests => 42;
 use Test::More;
 
 # these tests are run with -Oc by TestCompiler and show
@@ -253,20 +253,6 @@
   returncc/
 OUT
 
-pir_2_pasm_like( <<'CODE', <<'OUT', "tailcall 1", todo => "TT #1281" );
-.sub _main
-    foo(1, 2)
-.end
-.sub foo
-    .param int i
-    .param int j
-    .tailcall foo(I2, I3)
-.end
-CODE
-/ set I\d, I2
-  set I\d, I3/
-OUT
-
 pir_2_pasm_like( <<'CODE', <<'OUT', "tailcall 2" );
 .sub _main
     foo(1, 2)


More information about the parrot-commits mailing list