[parrot/parrot] 5fb092: coro: refactor return code. problem: wrong continu...
GitHub
noreply at github.com
Thu Oct 23 07:44:04 UTC 2014
Branch: refs/heads/smoke-me/coro-return-gh1106
Home: https://github.com/parrot/parrot
Commit: 5fb09261022143ef8dbb23d7543450d9caf3003f
https://github.com/parrot/parrot/commit/5fb09261022143ef8dbb23d7543450d9caf3003f
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 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: f43805caa3f33cb852a6846f9ea884c15a138e12
https://github.com/parrot/parrot/commit/f43805caa3f33cb852a6846f9ea884c15a138e12
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 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: ee7f461d45f464b255f44f9b26c1139c6f0c2a21
https://github.com/parrot/parrot/commit/ee7f461d45f464b255f44f9b26c1139c6f0c2a21
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M src/runcore/trace.c
Log Message:
-----------
trace: print Coro similar to Sub with -t1
Commit: 9e75fd92de72b47269f6fce4f9485b6cf2256674
https://github.com/parrot/parrot/commit/9e75fd92de72b47269f6fce4f9485b6cf2256674
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 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: 90de1df208c7cda1d9cdbdecbe8f2b206c431dd7
https://github.com/parrot/parrot/commit/90de1df208c7cda1d9cdbdecbe8f2b206c431dd7
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 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
Commit: e0ff4f2c28019a6900642767879c3b300acffe57
https://github.com/parrot/parrot/commit/e0ff4f2c28019a6900642767879c3b300acffe57
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M src/pmc/continuation.pmc
M src/pmc/coroutine.pmc
Log Message:
-----------
coro: more debug tracing. also track cont pc
Commit: 1452cf2897acee20ea43144950b076099590cf4c
https://github.com/parrot/parrot/commit/1452cf2897acee20ea43144950b076099590cf4c
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 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: fixed return address from dead coro
this fixes the return to label regressions. But there are
still 2 broken cases: 14, 17 with wrong return address when dead is caught
and on autoreset.
remove ctx debugging and add proper pc debugging instead
Commit: eb723e5dd70cab679afe0ab0513c83de0c38011b
https://github.com/parrot/parrot/commit/eb723e5dd70cab679afe0ab0513c83de0c38011b
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M src/pmc/coroutine.pmc
Log Message:
-----------
[cage] fix 1 obscure codingstd test
Commit: c9ac0062582301e267312aeb3f17f6b14d7bb794
https://github.com/parrot/parrot/commit/c9ac0062582301e267312aeb3f17f6b14d7bb794
Author: Reini Urban <rurban at cpanel.net>
Date: 2014-10-23 (Thu, 23 Oct 2014)
Changed paths:
M ChangeLog
Log Message:
-----------
Update ChangeLog
Compare: https://github.com/parrot/parrot/compare/8d5351db71c0...c9ac00625823
More information about the parrot-commits
mailing list