diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-21 20:58:26 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-21 20:58:26 +0000 |
commit | fe1ce93f52827f59c069247a6e5998c3a5f907b8 (patch) | |
tree | dc68c377c5347844138e9aa22610ee815677a7a4 /insns.def | |
parent | 2c34b66e24f1992e2ceca0b8a8f3d710f05f21ae (diff) |
* compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -583,7 +583,7 @@ newhash (...) (VALUE val) // inc += 1 - num; { - int i; + rb_num_t i; val = rb_hash_new(); for (i = num; i > 0; i -= 2) { @@ -982,8 +982,8 @@ send const rb_method_entry_t *me; VALUE recv, klass; rb_block_t *blockptr = 0; - rb_num_t num = caller_setup_args(th, GET_CFP(), op_flag, (int)op_argc, - (rb_iseq_t *)blockiseq, &blockptr); + int num = caller_setup_args(th, GET_CFP(), op_flag, (int)op_argc, + (rb_iseq_t *)blockiseq, &blockptr); rb_num_t flag = op_flag; ID id = op_id; @@ -1008,8 +1008,8 @@ invokesuper (VALUE val) // inc += - (int)(op_argc + ((op_flag & VM_CALL_ARGS_BLOCKARG_BIT) ? 1 : 0)); { rb_block_t *blockptr = !(op_flag & VM_CALL_ARGS_BLOCKARG_BIT) ? GET_BLOCK_PTR() : 0; - rb_num_t num = caller_setup_args(th, GET_CFP(), op_flag, - (int)op_argc, blockiseq, &blockptr); + int num = caller_setup_args(th, GET_CFP(), op_flag, + (int)op_argc, blockiseq, &blockptr); VALUE recv, klass; ID id; VALUE flag = VM_CALL_SUPER_BIT | VM_CALL_FCALL_BIT; |