summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-08 21:53:05 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-08 21:53:05 +0000
commit5856347f16368783a1d9d6691e3d5e125f720897 (patch)
tree20b747c539616f6606af3bea82a434bf8fc6f658 /vm_insnhelper.h
parent2262aba6a282aaad0ac7fedee9101e7927c48a4b (diff)
* vm_insnhelper.h: define struct SVAR for SVAR.
This data type is also same layout of NODE (NODE_IF). * vm_insnhelper.c: catch up this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index f88557e..c17f3d8 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -229,5 +229,14 @@ 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;
+};
#endif /* RUBY_INSNHELPER_H */