diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-28 01:22:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-28 01:22:49 +0000 |
commit | 9531aef9eba120e3c75f6ade0931f97c92c7a43b (patch) | |
tree | 43f8665ff11cfe1951fa3956d23ac20e33019bdb /io.c | |
parent | 7b5b448a1e675015bd341e1303590d154557490c (diff) | |
download | ruby-9531aef9eba120e3c75f6ade0931f97c92c7a43b.tar.gz |
* 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
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4001,7 +4001,7 @@ static VALUE argf_forward() { return rb_funcall3(current_file, ruby_frame->last_func, - ruby_frame->argc, ruby_frame->argv); + ruby_frame->argc, ruby_scope->local_vars + 2); } #define ARGF_FORWARD() do { if (TYPE(current_file) != T_FILE) return argf_forward(); } while (0) |