1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* vm_insnhelper.c (vm_method_missing): C99.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2008-09-03 10:28:48 +00:00
parent cb0ade87d6
commit 03e778757b
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Wed Sep 3 19:28:04 2008 NAKAMURA Usaku <usa@ruby-lang.org>
* vm_insnhelper.c (vm_method_missing): C99.
Wed Sep 3 19:18:12 2008 Koichi Sasada <ko1@atdot.net>
* test/ruby/test_thread.rb: fix test.

View file

@ -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;