зеркало из https://github.com/github/ruby.git
* vm.c (vm_jump_tag_but_local_jump): exc is not used if val is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
34c7492e2c
Коммит
655685612e
|
@ -1,3 +1,7 @@
|
||||||
|
Sat Sep 27 03:15:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* vm.c (vm_jump_tag_but_local_jump): exc is not used if val is nil.
|
||||||
|
|
||||||
Sat Sep 27 03:12:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sat Sep 27 03:12:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* ext/socket/socket.c (host_str): numeric address should be unsigned.
|
* ext/socket/socket.c (host_str): numeric address should be unsigned.
|
||||||
|
|
2
vm.c
2
vm.c
|
@ -841,8 +841,8 @@ vm_make_jump_tag_but_local_jump(int state, VALUE val)
|
||||||
void
|
void
|
||||||
vm_jump_tag_but_local_jump(int state, VALUE val)
|
vm_jump_tag_but_local_jump(int state, VALUE val)
|
||||||
{
|
{
|
||||||
VALUE exc = vm_make_jump_tag_but_local_jump(state, val);
|
|
||||||
if (val != Qnil) {
|
if (val != Qnil) {
|
||||||
|
VALUE exc = vm_make_jump_tag_but_local_jump(state, val);
|
||||||
rb_exc_raise(exc);
|
rb_exc_raise(exc);
|
||||||
}
|
}
|
||||||
JUMP_TAG(state);
|
JUMP_TAG(state);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче