mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* env.h: remove argv from ruby_frame.
* eval.c (rb_eval): no more copy on write. * eval.c (assign): ditto. * eval.c (rb_call0): can receive *rest by specifying negative argc. (-1 means 0 arg and *rest, -2 means 1 arg and *rest...) * eval.c (rb_call0): properly set frame's argc counter. * gc.c (rb_gc_mark_frame): need not to mark frame's argv * gc.c (run_final): wrong order of data. [ruby-dev:23948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7b5b448a1e
commit
9531aef9eb
6 changed files with 43 additions and 86 deletions
1
env.h
1
env.h
|
@ -16,7 +16,6 @@
|
|||
RUBY_EXTERN struct FRAME {
|
||||
VALUE self;
|
||||
int argc;
|
||||
VALUE *argv;
|
||||
ID last_func;
|
||||
ID orig_func;
|
||||
VALUE last_class;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue