* 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
This commit is contained in:
ko1 2015-12-02 07:52:12 +00:00
parent e917af6401
commit 7afefea564
5 changed files with 139 additions and 129 deletions

2
iseq.h
View file

@ -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 */