[ruby-cvs:69531] nobu:r62350 (trunk): insns.def: cache nil const

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Feb 11 01:54:47 JST 2018


nobu	2018-02-11 01:54:47 +0900 (Sun, 11 Feb 2018)

  New Revision: 62350

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

  Log:
    insns.def: cache nil const
    
    * insns.def (getinlinecache): Qnil is a valid value as a constant.
      this can be observable when accessing a deprecated constant
      which is nil.  non-nil constant is warned just once for each
      location, but every time if it is nil.

  Modified files:
    trunk/insns.def
    trunk/test/ruby/test_module.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list