[ruby-cvs:69284] nobu:r62103 (trunk): bare_instructions.rb: sp_inc is signed

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jan 30 12:21:52 JST 2018


nobu	2018-01-30 12:21:52 +0900 (Tue, 30 Jan 2018)

  New Revision: 62103

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

  Log:
    bare_instructions.rb: sp_inc is signed
    
    * tool/ruby_vm/models/bare_instructions.rb (predefine_attributes):
      `sp_inc` attribute which may return negative values must be
      signed `rb_snum_t`, to be signed-expanded at type promotion.
    
    * vm_insnhelper.h (ADJ_SP): removed the workaround for platforms
      where rb_num_t is wider than int.

  Modified files:
    trunk/tool/ruby_vm/models/bare_instructions.rb
    trunk/vm_insnhelper.h


More information about the ruby-cvs mailing list