[ruby-cvs:71167] k0kubun:r64076 (trunk): mjit.c: use NOT_COMPILED_JIT_ISEQ_FUNC for unloaded

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Fri Jul 27 17:51:56 JST 2018


k0kubun	2018-07-27 17:51:56 +0900 (Fri, 27 Jul 2018)

  New Revision: 64076

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

  Log:
    mjit.c: use NOT_COMPILED_JIT_ISEQ_FUNC for unloaded
    
    units, renaming it from NOT_COMPILABLE_JIT_ISEQ_FUNC.
    
    NOT_READY_JIT_ISEQ_FUNC is for ones being compiled, so
    mjit_get_iseq_func treats it specially and it shouldn't be used for the
    purpose.
    
    I renamed it instead of adding a new one because I'm not sure about the
    impact for the performance by increasing the switch branches in mjit_exec.

  Modified files:
    trunk/mjit.c
    trunk/mjit.h


More information about the ruby-cvs mailing list