aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-11 12:27:34 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-11 12:27:34 +0000
commitac28b985bdc2f85eada8070d40f6de9f11dab7f8 (patch)
tree7032a0f9ca75346ea1316ff2d8254c2606de93da /vm_insnhelper.h
parent734146a459564e8b6aa221d8a5d4d55c8610d557 (diff)
downloadruby-ac28b985bdc2f85eada8070d40f6de9f11dab7f8.tar.gz
* vm_insnhelper.c: use T_IMEMO to create SVAR.
* internal.h, vm_insnhelper.h: move definition `struct SVAR' from vm_insnhelper.h to internal.h. And rename it to strcut vm_svar. new imemo_type imemo_svar is added. * gc.c (gc_mark_children): mark imemo_svar. * node.c (rb_gc_mark_node): remove useless marking. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index b94b777606..9a3a2b1564 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -229,16 +229,6 @@ enum vm_regan_acttype {
static VALUE make_no_method_exception(VALUE exc, const char *format,
VALUE obj, int argc, const VALUE *argv);
-/* SVAR */
-
-struct SVAR {
- VALUE flags;
- const rb_cref_t *cref;
- VALUE lastline;
- VALUE backref;
- VALUE others;
-};
-
struct THROW_DATA {
VALUE flags;
VALUE reserved;