diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-12 19:09:15 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-12 19:09:15 +0000 |
commit | b1c5d848f89dc4bc7a25909fed26b4d8dcebb074 (patch) | |
tree | 460007b317e17a251d60aacdf6b69a24d9b607cc /insns.def | |
parent | 99b51f6020e847826d60a5bae0fca451cf2e7994 (diff) | |
download | ruby-b1c5d848f89dc4bc7a25909fed26b4d8dcebb074.tar.gz |
* vm_dump.c (debug_print_pre): fix to show control frame count.
* insns.def (opt_call_c_function): fix operand type.
* lib/vm/instruction.rb: ditto.
* insnhelper.ci (vm_push_frame, vm_pop_frame): fix to show
control stack status on if VMDEBUG == 2.
* vm.h: add a comment about VMDEBUG.
* iseq.c (find_prev_line_no): fix to skip bug report if
line is not found.
* lib/vm/instruction.rb: fix to use build_string() on
source code generators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -1059,9 +1059,9 @@ defineclass default: rb_bug("unknown defineclass type: %d", (int)define_type); } - + COPY_CREF(klass_iseq->cref_stack, vm_cref_push(th, klass, NOEX_PUBLIC)); - + /* enter scope */ vm_push_frame(th, klass_iseq, FRAME_MAGIC_CLASS, klass, (VALUE) GET_DFP() | 0x02, @@ -2096,12 +2096,10 @@ opt_regexpmatch2 */ DEFINE_INSN opt_call_c_function -(VALUE func) +(rb_insn_func_t funcptr) () () { - rb_insn_func_t funcptr = (rb_insn_func_t) func; - reg_cfp = (funcptr)(th, reg_cfp); if (reg_cfp == 0) { |