diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 07:48:28 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-18 07:48:28 +0000 |
commit | a4e9109c72bf0b7201b29df242b03c061928fbc3 (patch) | |
tree | 2f93c0df2168646ccd3f3aca3452bb1a06c182bb /insnhelper.ci | |
parent | 5adf8691cbe704198b7d123a42b89b7f72e38822 (diff) | |
download | ruby-a4e9109c72bf0b7201b29df242b03c061928fbc3.tar.gz ruby-a4e9109c72bf0b7201b29df242b03c061928fbc3.tar.xz ruby-a4e9109c72bf0b7201b29df242b03c061928fbc3.zip |
* insnhelper.ci (vm_call_bmethod),
vm.c (vm_invoke_proc_core): fix to do not restore
$SAFE when proc invoked by bmethod.
* vm_core.h: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insnhelper.ci')
-rw-r--r-- | insnhelper.ci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/insnhelper.ci b/insnhelper.ci index 500005c9c..b65190812 100644 --- a/insnhelper.ci +++ b/insnhelper.ci @@ -388,7 +388,7 @@ vm_call_bmethod(rb_thread_t *th, ID id, VALUE procval, VALUE recv, (cfp-2)->method_klass = klass; GetProcPtr(procval, proc); - val = vm_invoke_proc(th, proc, recv, argc, argv); + val = vm_invoke_proc_core(th, proc, recv, argc, argv, 0); return val; } |