[ruby-cvs:72526] shyouhei:r65426 (trunk): less verbose code by sharing attribute definitions

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Mon Oct 29 12:21:22 JST 2018


shyouhei	2018-10-29 12:21:22 +0900 (Mon, 29 Oct 2018)

  New Revision: 65426

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

  Log:
    less verbose code by sharing attribute definitions
    
    The idea behind this commit is that handles_sp and leaf are two
    concepts that are not mutually independent.  By making one explicitly
    depend another, we can reduces the number of lines of codes written,
    thus making things concise.

  Modified files:
    trunk/insns.def
    trunk/tool/ruby_vm/models/bare_instructions.rb


More information about the ruby-cvs mailing list