… | |
… | |
1070 | static int |
1070 | static int |
1071 | slf_check_set_stacklevel (pTHX_ struct CoroSLF *frame) |
1071 | slf_check_set_stacklevel (pTHX_ struct CoroSLF *frame) |
1072 | { |
1072 | { |
1073 | *frame = cctx_ssl_frame; |
1073 | *frame = cctx_ssl_frame; |
1074 | |
1074 | |
1075 | return 1; |
1075 | return 1; /* execute the restored frame - there must be one */ |
1076 | } |
1076 | } |
1077 | |
1077 | |
1078 | /* initialises PL_top_env and injects a pseudo-slf-call to sett he stacklevel */ |
1078 | /* initialises PL_top_env and injects a pseudo-slf-call to sett he stacklevel */ |
1079 | static void NOINLINE |
1079 | static void NOINLINE |
1080 | cctx_prepare (pTHX_ coro_cctx *cctx) |
1080 | cctx_prepare (pTHX_ coro_cctx *cctx) |