aboutsummaryrefslogtreecommitdiffstats
path: root/iseq.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 07:52:12 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-12-02 07:52:12 +0000
commit7afefea564bc6520962c9eaa457d85c19b64d13c (patch)
tree6c47b202124e1e32b07ef52c2830ddae9ca5d596 /iseq.h
parente917af64014746de9658e1a9ddb3fd134520c0e6 (diff)
downloadruby-7afefea564bc6520962c9eaa457d85c19b64d13c.tar.gz
* iseq.h: introduce ISEQ_COMPILE_DATA() macro.
* compile.c, iseq.c: use ISEQ_COMPILE_DATA(). * vm_core.h: rename compile_data field to support this fix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/iseq.h b/iseq.h
index 370c7c8433..e965e8d257 100644
--- a/iseq.h
+++ b/iseq.h
@@ -23,6 +23,8 @@ rb_call_info_kw_arg_bytes(int keyword_len)
return sizeof(struct rb_call_info_kw_arg) + sizeof(VALUE) * (keyword_len - 1);
}
+#define ISEQ_COMPILE_DATA(iseq) (iseq)->compile_data_
+
RUBY_SYMBOL_EXPORT_BEGIN
/* compile.c */