[ruby-cvs:71014] tenderlove:r63923 (trunk): Remove redundant code in the compiler.

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Tue Jul 10 05:01:54 JST 2018


tenderlove	2018-07-10 05:01:54 +0900 (Tue, 10 Jul 2018)

  New Revision: 63923

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63923

  Log:
    Remove redundant code in the compiler.
    
    During instruction translation (linked list -> iseq generation), we can
    treat `TS_VALUE` and `TS_ISEQ` the same as they are just embedded in the
    generated sequences.  The only difference between `TS_ISE` and `TS_IC`
    is that an inline storage entry may contain a markable `VALUE` pointer
    at some point, so we need to flag the iseq as containing markable
    objects.

  Modified files:
    trunk/compile.c


More information about the ruby-cvs mailing list