summaryrefslogtreecommitdiff
path: root/yarvcore.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 07:29:21 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-24 07:29:21 +0000
commit68e02f2c2cc98e6ab736b3122aafe7a2398642f6 (patch)
tree2167a1299cd58748a883b72de1ba8de0b4128df6 /yarvcore.h
parenta5c9bf7d63bff7772d7a3b392e9d5ebe6a0bf479 (diff)
* vm.c (callee_setup_arg): added. support correct post arg.
* vm_macro.def (macro_eval_invoke_func): fix to use callee_setup_arg. * compile.c (set_arguments): adjust for above changes. * compile.c (iseq_compile_each): ditto. * iseq.c (ruby_iseq_disasm): ditto. * yarvcore.h: add rb_iseq_t#post_arg_start and arg_size. * bootstraptest/test_method.rb: add post arg tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/yarvcore.h b/yarvcore.h
index ae439a5a601..c33163a5702 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -277,6 +277,9 @@ struct rb_iseq_struct {
int arg_block;
int arg_opts;
int arg_post_len;
+ int arg_post_start;
+ int arg_size;
+
VALUE *arg_opt_tbl;
/* for stack overflow check */