[ruby-cvs:78528] 2c8d186c6e (master): Introduce an "Inline IVAR cache" struct

"Aaron Patterson" <[email protected]>
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Aaron Patterson	2019-10-12 09:06:41 +0900 (Sat, 12 Oct 2019)

  New Revision: 2c8d186c6e

  https://github.com/ruby/ruby/commit/2c8d186c6e

  Log:
    Introduce an "Inline IVAR cache" struct
    
    This commit introduces an "inline ivar cache" struct.  The reason we
    need this is so compaction can differentiate from an ivar cache and a
    regular inline cache.  Regular inline caches contain references to
    `VALUE` and ivar caches just contain references to the ivar index.  With
    this new struct we can easily update references for inline caches (but
    not inline var caches as they just contain an int)

  Modified files:
    compile.c
    insns.def
    iseq.c
    tool/ruby_vm/models/typemap.rb
    tool/ruby_vm/views/_mjit_compile_ivar.erb
    vm_core.h
    vm_insnhelper.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.