1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
ko1 e4198a73d4 * make rb_iseq_t T_IMEMO object (type is imemo_iseq).
All contents of previous rb_iseq_t is in rb_iseq_t::body.
  Remove rb_iseq_t::self because rb_iseq_t is an object.
  RubyVM::InstructionSequence is wrapper object points T_IMEMO/iseq.
  So RubyVM::ISeq.of(something) method returns different wrapper
  objects but they point the same T_IMEMO/iseq object.
  This patch is big, but most of difference is replacement of
  iseq->xxx to iseq->body->xxx.
  (previous) rb_iseq_t::compile_data is also located to
  rb_iseq_t::compile_data.
  It was moved from rb_iseq_body::compile_data.
  Now rb_iseq_t has empty two pointers.
  I will split rb_iseq_body data into static data and dynamic data.
* compile.c: rename some functions/macros.
  Now, we don't need to separate iseq and iseqval (only VALUE).
* eval.c (ruby_exec_internal): `n' is rb_iseq_t (T_IMEMO/iseq).
* ext/objspace/objspace.c (count_imemo_objects): count T_IMEMO/iseq.
* gc.c: check T_IMEMO/iseq.
* internal.h: add imemo_type::imemo_iseq.
* iseq.c: define RubyVM::InstructionSequnce as T_OBJECT.
  Methods are implemented by functions named iseqw_....
* load.c (rb_load_internal0): rb_iseq_new_top() returns
  rb_iseq_t (T_IMEMO/iesq).
* method.h (rb_add_method_iseq): accept rb_iseq_t (T_IMEMO/iseq).
* vm_core.h (GetISeqPtr): removed because it is not T_DATA now.
* vm_core.h (struct rb_iseq_body): remove padding for
  [Bug #10037][ruby-core:63721].



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-07-21 22:52:59 +00:00
..
-test- encoding.c: drop dummy encoding flag 2015-07-15 07:55:08 +00:00
bigdecimal * ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem. 2015-06-13 02:35:25 +00:00
continuation
coverage * ext/coverage/coverage.c: Remove extension from require argument. 2015-04-12 04:52:23 +00:00
date date_parse.c: use ALLOCV 2015-06-16 09:46:06 +00:00
dbm dbm.c: fix doc 2014-12-30 00:29:28 +00:00
digest digest.c: GC guard 2015-05-21 05:03:55 +00:00
etc ext: suppress warnings 2015-04-19 03:19:20 +00:00
fcntl
fiber
fiddle * include/ruby/ruby.h: $SAFE=2 is now obsolete. 2015-06-18 14:21:03 +00:00
gdbm
io console.c: undefined vk 2015-07-21 10:52:19 +00:00
json generator.c: allocate structs with wrapper 2015-05-28 07:17:55 +00:00
mathn
nkf nkf.c: add semicolon 2014-12-26 06:09:31 +00:00
objspace * make rb_iseq_t T_IMEMO object (type is imemo_iseq). 2015-07-21 22:52:59 +00:00
openssl * ext/openssl/ossl.c: [DOC] Backport ruby/openssl@dbb3fdb [Bug #11345] 2015-07-12 16:41:32 +00:00
pathname * ext/pathname/lib/pathname.rb (descend): Blockless form supported. 2015-06-14 15:14:46 +00:00
psych psych: allocate structs with wrapper 2015-05-29 05:44:01 +00:00
pty pty.c: fix example typo [ci skip] 2015-07-19 05:29:21 +00:00
racc/cparse
rbconfig/sizeof sizes.c.tmpl: extract RUBY_DEFINT 2015-06-28 22:24:05 +00:00
readline pass saved errno 2015-07-08 05:05:12 +00:00
ripper Update dependencies. 2014-12-19 13:34:54 +00:00
sdbm _sdbm.c: fix pointers to shift 2015-02-04 08:35:08 +00:00
socket ruby/win32.h: include windows.h 2015-07-21 10:51:14 +00:00
stringio stringio.c: Fix an example doc [ci skip] 2015-07-11 12:16:37 +00:00
strscan allocate structs with wrapper 2015-05-16 12:56:48 +00:00
syslog Update dependencies. 2014-12-19 13:34:54 +00:00
thread thread.c: refine enums 2015-02-27 03:55:00 +00:00
tk * ext/tk/tcltklib.c: removed deprecated safe level. 2015-07-06 09:00:21 +00:00
win32 * ext/win32/Win32API.rb (initialize): accept both a string and an array 2015-02-25 13:08:01 +00:00
win32ole * ext/win32ole/win32ole.c: fix a typo. Patch by @davydovanton 2015-06-04 02:53:11 +00:00
zlib zlib.c: GC guards 2015-07-10 12:50:26 +00:00
.document
extmk.rb extmk.rb: silently skip never-installed extensions 2015-07-10 01:22:55 +00:00
Setup
Setup.atheos
Setup.emx
Setup.nacl
Setup.nt