diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-02 12:49:35 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-07-02 12:49:35 +0000 |
commit | ee457d92c2d99d85f61346ccd7dd3a6c21b294b6 (patch) | |
tree | b4be9dc0cdc75cfb3f7c329855251f83352b931e /insns.def | |
parent | 0a75feb94adbce32b35e23e11b58ace9a2a3e924 (diff) |
* compile.c: rename iseq_translate_direct_threaded_code()
to iseq_translate_threaded_code().
* eval_intern.h, yarvcore.h: mv EXEC_EVENT_HOOK() and
exec_event_hooks() to yarvcore.h.
* insnhelper.ci, vm.c: mv yarv_finish_insn_seq to vm.c.
* insns.def (opt_call_c_function): fix to use RESTORE_REGS().
* iseq.c (rb_iseq_build_for_ruby2cext): fix to allocate iseq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -379,11 +379,11 @@ putobject DEFINE_INSN putstring -(VALUE val) +(VALUE str) () (VALUE val) { - val = rb_str_new3(val); + val = rb_str_new3(str); } /** @@ -2337,6 +2337,7 @@ opt_call_c_function () { rb_insn_func_t funcptr = (rb_insn_func_t) func; + reg_cfp = (funcptr)(th, reg_cfp); if (reg_cfp == 0) { @@ -2345,6 +2346,7 @@ opt_call_c_function THROW_EXCEPTION(err); } + RESTORE_REGS(); NEXT_INSN(); } |