Author: leo
Date: Sun Oct 30 07:48:36 2005
New Revision: 9646

Modified:
   trunk/t/op/calling.t
Log:
Variable-sized reg frames 15 - fix half-bogus test

* subs that are tailcalled into must always have get_params
  at begin. That is: get_params with tailcalls is part of the
  call sequence and can't safely be repeated

make testC (CGP, direct threaded run-core) works


Modified: trunk/t/op/calling.t
==============================================================================
--- trunk/t/op/calling.t        (original)
+++ trunk/t/op/calling.t        Sun Oct 30 07:48:36 2005
@@ -604,8 +604,8 @@ pir_output_is(<<'CODE', <<'OUTPUT', "tai
     tailcall b
 .end
 .sub bar
-    print "bar\n"
     get_params "(0)", $S0
+    print "bar\n"
     print $S0
     set_returns "(0)", "bar_ret\n"
     returncc

Reply via email to