From: SASADA Koichi Date: 2008-10-23T00:01:39+09:00 Subject: [ruby-core:19447] Re: confused by this catch table Paul Brannan wrote: > Given a start of 9 and an end of 10, the retry catch table entry seems > to cover only the instruction at address 9 (the nop). So if a retry is > issued, how is it to have any effect? See vm.c:1199 > /* enter catch scope */ > GetISeqPtr(catch_iseqval, catch_iseq); > cfp->sp = cfp->bp + cont_sp; > cfp->pc = cfp->iseq->iseq_encoded + cont_pc; Before VM enter into rescue clause, VM set PC to continued. > (that is, since there is no code within the retry catch entry's > applicable instructions that can throw a retry tag, does this > effectively become a no-op?) Did do try such a ruby code? -- // SASADA Koichi at atdot dot net