ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/State.xs
(Generate patch)

Comparing Coro/Coro/State.xs (file contents):
Revision 1.31 by root, Sun Aug 26 16:36:08 2001 UTC vs.
Revision 1.32 by root, Sun Aug 26 17:01:54 2001 UTC

650{ 650{
651 /* 651 /*
652 * this is a _very_ stripped down perl interpreter ;) 652 * this is a _very_ stripped down perl interpreter ;)
653 */ 653 */
654 Coro__State ctx = (Coro__State)arg; 654 Coro__State ctx = (Coro__State)arg;
655 JMPENV coro_start_env;
655 656
656 /*FIXME*//* must set up top_env here */ 657 /* same as JMPENV_BOOTSTRAP */
658 Zero(&coro_start_env, 1, JMPENV);
659 coro_start_env.je_ret = -1;
660 coro_start_env.je_mustcatch = TRUE;
661 PL_top_env = &coro_start_env;
662
657 ctx->cursp = 0; 663 ctx->cursp = 0;
658 PL_op = PL_op->op_next; 664 PL_op = PL_op->op_next;
659 CALLRUNOPS(aTHX); 665 CALLRUNOPS(aTHX);
660 666
661 abort (); 667 abort ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines