[parrot/parrot] aa8247: coro: refactor return code. problem: wrong continu...
GitHub
noreply at github.com
Tue Oct 21 12:03:28 UTC 2014
Branch: refs/heads/smoke-me/coro-return-gh1106
Home: https://github.com/parrot/parrot
Commit: aa8247c25fc6b18a0b4e9e8b5cd73ff85593b07d
https://github.com/parrot/parrot/commit/aa8247c25fc6b18a0b4e9e8b5cd73ff85593b07d
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-21 (Tue, 21 Oct 2014)
Changed paths:
M ChangeLog
M include/parrot/sub.h
M src/pmc/continuation.pmc
M src/pmc/coroutine.pmc
M src/sub.c
M t/pmc/coroutine.t
Log Message:
-----------
coro: refactor return code. problem: wrong continuation
let Parrot_sub_continuation_rewind_environment return from_sub
for continuation.invoke.
let yield carry a 2nd state: 2 for .return
fix .return() mostly [GH# 1106]
remove unneeded empty ctx check in coroutine.invoke back from coro
changed t/pmc/coroutine.t to match the new implementation.
Fixed: 9, 13, 14, 15, 16
Remaining todo:
- 2: wrong returncc cont to label, regression (also syn_7)
- 14: wrong cont
Commit: d9c7cd83223c7f83cf63b33c294e06d56014c020
https://github.com/parrot/parrot/commit/d9c7cd83223c7f83cf63b33c294e06d56014c020
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-21 (Tue, 21 Oct 2014)
Changed paths:
M ChangeLog
M t/compilers/imcc/syn/pcc.t
Log Message:
-----------
[test] change regressing returncc label from coro to return value
Commit: 80289cacda93e836edc436fe407e677f71953fe6
https://github.com/parrot/parrot/commit/80289cacda93e836edc436fe407e677f71953fe6
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-21 (Tue, 21 Oct 2014)
Changed paths:
M src/runcore/trace.c
Log Message:
-----------
trace: print Coro similar to Sub with -t1
Commit: 73d47d5d268b773094b9becabf2d2014706263ee
https://github.com/parrot/parrot/commit/73d47d5d268b773094b9becabf2d2014706263ee
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-21 (Tue, 21 Oct 2014)
Changed paths:
M src/pmc/coroutine.pmc
M t/pmc/coroutine.t
Log Message:
-----------
coro: fix dead state with and without autoreset
we do not error when the coro returns from return/returncc.
we rather error when a dead coro is called, new yield state 2.
Commit: a12eb65bf95c823a97663948fb8f7514b753ce8c
https://github.com/parrot/parrot/commit/a12eb65bf95c823a97663948fb8f7514b753ce8c
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-21 (Tue, 21 Oct 2014)
Changed paths:
M src/pmc/continuation.pmc
M src/pmc/coroutine.pmc
M t/compilers/imcc/syn/pcc.t
M t/pmc/coroutine.t
Log Message:
-----------
coro: do not reset cont address
Compare: https://github.com/parrot/parrot/compare/17e31be00511...a12eb65bf95c
More information about the parrot-commits
mailing list