| 19 | | |
| 20 | | SMOP__Object* continuation = SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| 21 | | SMOP__ID__continuation, |
| 22 | | SMOP__NATIVE__capture_create(interpreter, |
| 23 | | SMOP_REFERENCE(interpreter,interpreter), |
| 24 | | NULL,NULL)); |
| 25 | | |
| 26 | | SMOP__Object* frame = SMOP__Mold__Frame_create(interpreter, |
| 27 | | SMOP_REFERENCE(interpreter,mold)); |
| 28 | | |
| 29 | | mold_reg_set(interpreter,frame,0,SMOP_REFERENCE(interpreter,capture)); |
| 30 | | mold_reg_set(interpreter,frame,1,continuation); |
| 31 | | mold_reg_set(interpreter,frame,2,SMOP_REFERENCE(interpreter,interpreter)); |
| 32 | | |
| 33 | | SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| 34 | | SMOP__ID__goto, |
| 35 | | frame); |
| | 19 | |
| | 20 | if (mold) { |
| | 21 | SMOP__Object* continuation = SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| | 22 | SMOP__ID__continuation, |
| | 23 | SMOP__NATIVE__capture_create(interpreter, |
| | 24 | SMOP_REFERENCE(interpreter,interpreter), |
| | 25 | NULL,NULL)); |
| | 26 | |
| | 27 | SMOP__Object* frame = SMOP__Mold__Frame_create(interpreter, |
| | 28 | SMOP_REFERENCE(interpreter,mold)); |
| | 29 | |
| | 30 | mold_reg_set(interpreter,frame,0,SMOP_REFERENCE(interpreter,capture)); |
| | 31 | mold_reg_set(interpreter,frame,1,continuation); |
| | 32 | mold_reg_set(interpreter,frame,2,SMOP_REFERENCE(interpreter,interpreter)); |
| | 33 | |
| | 34 | SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| | 35 | SMOP__ID__goto, |
| | 36 | frame); |
| | 37 | } |
| 42 | | SMOP__Object* continuation = SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| 43 | | SMOP__ID__continuation, |
| 44 | | SMOP__NATIVE__capture_create(interpreter, |
| 45 | | SMOP_REFERENCE(interpreter,interpreter), |
| 46 | | NULL,NULL)); |
| 47 | | |
| 48 | | SMOP__Object* frame = SMOP__Mold__Frame_create(interpreter, |
| 49 | | SMOP_REFERENCE(interpreter,mold)); |
| 50 | | |
| 51 | | mold_reg_set(interpreter,frame,0,SMOP_REFERENCE(interpreter,capture)); |
| 52 | | |
| 53 | | mold_reg_set(interpreter,frame,1,continuation); |
| 54 | | mold_reg_set(interpreter,frame,2,SMOP_REFERENCE(interpreter,interpreter)); |
| 55 | | |
| 56 | | SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| 57 | | SMOP__ID__goto, |
| 58 | | frame); |
| | 44 | if (mold) { |
| | 45 | SMOP__Object* continuation = SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| | 46 | SMOP__ID__continuation, |
| | 47 | SMOP__NATIVE__capture_create(interpreter, |
| | 48 | SMOP_REFERENCE(interpreter,interpreter), |
| | 49 | NULL,NULL)); |
| | 50 | |
| | 51 | SMOP__Object* frame = SMOP__Mold__Frame_create(interpreter, |
| | 52 | SMOP_REFERENCE(interpreter,mold)); |
| | 53 | |
| | 54 | mold_reg_set(interpreter,frame,0,SMOP_REFERENCE(interpreter,capture)); |
| | 55 | |
| | 56 | mold_reg_set(interpreter,frame,1,continuation); |
| | 57 | mold_reg_set(interpreter,frame,2,SMOP_REFERENCE(interpreter,interpreter)); |
| | 58 | |
| | 59 | SMOP_DISPATCH(interpreter, SMOP_RI(interpreter), |
| | 60 | SMOP__ID__goto, |
| | 61 | frame); |
| | 62 | } |