diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | insnhelper.ci | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Wed Sep 26 19:27:11 2007 Koichi Sasada <[email protected]> + + * insnhelper.ci (vm_throw): fix to move increment point. + [ruby-dev:31840] + Wed Sep 26 19:23:56 2007 Koichi Sasada <[email protected]> * cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146] diff --git a/insnhelper.ci b/insnhelper.ci index 7ab7456995..4be9c7259e 100644 --- a/insnhelper.ci +++ b/insnhelper.ci @@ -1286,12 +1286,12 @@ vm_throw(rb_thread_t *th, rb_control_frame_t *reg_cfp, rb_num_t throw_state, VAL break; } } - cfp++; if (GET_LFP() == cfp->lfp && cfp->iseq->type == ISEQ_TYPE_METHOD) { is_orphan = 0; break; } + cfp++; } if (is_orphan) { |