diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-27 06:57:34 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-27 06:57:34 +0000 |
commit | 1474acff3c70c3c81cb1b059a8e6cc77a0fc4b70 (patch) | |
tree | 7c657a90b1ea8f6f7fd830a695d9332cedce2d98 /vm_exec.c | |
parent | c95cbf6aab15de1c14eb924832e6ae7be2d74754 (diff) | |
download | ruby-1474acff3c70c3c81cb1b059a8e6cc77a0fc4b70.tar.gz |
fix return in toplevel rescue/ensure
* compile.c (iseq_compile_each0): throw TAG_RETURN at return in
toplevel rescue/ensure to adjust VM stack properly.
[ruby-core:81777] [Bug #13682]
* vm_insnhelper.c (vm_throw_start): allow return in toplevel
rescue/ensure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.c')
0 files changed, 0 insertions, 0 deletions