Skip to content

Commit

Permalink
[test] change regressing returncc label from coro to return value
Browse files Browse the repository at this point in the history
  • Loading branch information
Reini Urban committed Oct 18, 2014
1 parent be4da7e commit 432f7bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ChangeLog
Expand Up @@ -24,8 +24,8 @@
+ Protect callmethod from an empty object, missed by fixup_subs
immediate. #1024
+ Add Coroutine reset and autoreset methods. #564
+ Fixed Coroutine return and tests, with one returncc regression
and one n_regs_used for autoreset bug left. #1106
+ Fixed Coroutine return and tests. Warning: temp. broke returncc from
coro to label, use a return value instead. #1106
+ Add -t8 trace flag for Coroutine states
+ Disabled trace flags -t4 and -t8 with --optimize. #1105
+ Harmonize parrot usage messages
Expand Down
7 changes: 3 additions & 4 deletions t/compilers/imcc/syn/pcc.t
Expand Up @@ -165,9 +165,9 @@ pir_output_is( <<'CODE', <<'OUT', "coroutine iterator" );
.local int i
i=5
new $P1, 'Continuation'
set_label $P1, after_loop
loop:
$I2 = _addtwo($P1, i)
$I2 = _addtwo(i)
if $I2 == -1 goto after_loop
print $I2
print "\n"
goto loop
Expand All @@ -177,7 +177,6 @@ loop:
.end
.sub _addtwo
.param pmc when_done
.param int a
.local int i
i = 0
Expand All @@ -189,7 +188,7 @@ loop:
goto loop
done:
print "done in coroutine\n"
when_done()
.return(-1)
.end
CODE
5
Expand Down

0 comments on commit 432f7bf

Please sign in to comment.