aboutsummaryrefslogtreecommitdiffstats
path: root/yarvcore.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 16:29:26 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-25 16:29:26 +0000
commit9987d53e519cf84fe47ffbbd4f48be0bc40938c7 (patch)
tree1cbd036967f588026bf6038c39898fa20a531e4b /yarvcore.h
parente98f7e1eaa18c33d211e6a0cf245eaf4b175c3c7 (diff)
downloadruby-9987d53e519cf84fe47ffbbd4f48be0bc40938c7.tar.gz
* yarvcore.h: add rb_thread_t#top_wrapper, top_self.
* eval_load.c (rb_load): support eval in wrapper module (load(file, true)). * eval.c: ditto. * eval_jump.h: ditto. * iseq.c: ditto. * vm.c: ditto. * yarvcore.c: ditto. * insns.def: add a empty line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/yarvcore.h b/yarvcore.h
index dc1963ab62..e2885711cc 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -404,6 +404,10 @@ struct rb_thread_struct
/* passed via parse.y, eval.c (rb_scope_setup_local_tbl) */
ID *top_local_tbl;
+ /* for load(true) */
+ VALUE top_self;
+ VALUE top_wrapper;
+
/* eval env */
rb_block_t *base_block;