1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* insnhelper.ci (vm_throw): fix to move increment point.

[ruby-dev:31840]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2007-09-26 10:29:00 +00:00
parent e826eec433
commit 94331261e9
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Sep 26 19:27:11 2007 Koichi Sasada <ko1@atdot.net>
* insnhelper.ci (vm_throw): fix to move increment point.
[ruby-dev:31840]
Wed Sep 26 19:23:56 2007 Koichi Sasada <ko1@atdot.net>
* cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]

View file

@ -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) {