[ruby-cvs:70167] k0kubun:r63077 (trunk): mjit.c: add class serial of singleton class

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Apr 4 00:42:00 JST 2018

k0kubun	2018-04-04 00:42:00 +0900 (Wed, 04 Apr 2018)

  New Revision: 63077


    mjit.c: add class serial of singleton class
    for toplevel self.
    Toplevel self's class is not `Object` but `#<Class:Object>`.
    This commit allows to inline method call setup for toplevel methods.
    I've thought r63053 works but it doesn't...
    I actually want to add all singleton classes but I'm not sure what's the
    good way for it. I assumed that using ObjectSpace.each_object is suboptimal.

  Modified files:

More information about the ruby-cvs mailing list