diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 10:28:48 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-03 10:28:48 +0000 |
commit | e1267148883dec34d18817c81c8d438ac0086d3d (patch) | |
tree | e705b2e6e0e5659dc97ee8e263faf05df1844c41 /vm_insnhelper.c | |
parent | 27c48232b367cfe26e7efca970ee07c4bdb198d2 (diff) | |
download | ruby-e1267148883dec34d18817c81c8d438ac0086d3d.tar.gz ruby-e1267148883dec34d18817c81c8d438ac0086d3d.tar.xz ruby-e1267148883dec34d18817c81c8d438ac0086d3d.zip |
* vm_insnhelper.c (vm_method_missing): C99.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index cfac3a4dc..c9397f8ec 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -409,10 +409,10 @@ static inline VALUE vm_method_missing(rb_thread_t *th, ID id, VALUE recv, int num, rb_block_t *blockptr, int opt) { + VALUE val; rb_control_frame_t * const reg_cfp = th->cfp; VALUE *argv = ALLOCA_N(VALUE, num + 1); MEMCPY(argv, STACK_ADDR_FROM_TOP(num + 1), VALUE, num + 1); - VALUE val; argv[0] = ID2SYM(id); th->method_missing_reason = opt; th->passed_block = blockptr; |