diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-01 04:35:58 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-01 04:35:58 +0000 |
| commit | 6ddeecce9c090447f76c99e111237115f6cc2f33 (patch) | |
| tree | 1a274ad80a96f2546c0aba4701fd0c0e78857b5b /vm_dump.c | |
| parent | 18c20cccee7d912bfe963a901a6cdb41f3db07e1 (diff) | |
| download | ruby-6ddeecce9c090447f76c99e111237115f6cc2f33.tar.gz ruby-6ddeecce9c090447f76c99e111237115f6cc2f33.tar.xz ruby-6ddeecce9c090447f76c99e111237115f6cc2f33.zip | |
* yarvcore.h, compile.c (set_arguments): support post arguments.
* test/ruby/test_method.rb: add tests for above.
* test/ruby/test_proc.rb: ditto.
* proc.c: fix an arity bug ([ruby-core:11029]).
* vm.c, vm.h, insns.def, vm_dump.h: fix bmethod process.
* vm.c: support block argument on block parameter.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_dump.c')
| -rw-r--r-- | vm_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -237,7 +237,7 @@ stack_dump_each(rb_thread_t *th, rb_control_frame_t *cfp) rb_iseq_t *iseq = cfp->iseq; if (iseq == 0) { - if (cfp->method_id) { + if (RUBYVM_CFUNC_FRAME_P(cfp)) { argc = 0; local_size = 0; name = rb_id2name(cfp->method_id); |
