[ruby-cvs:70289] k0kubun:r63199 (trunk): _mjit_compile_send.erb: simplify control flow

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Fri Apr 20 01:57:59 JST 2018


k0kubun	2018-04-20 01:57:59 +0900 (Fri, 20 Apr 2018)

  New Revision: 63199

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

  Log:
    _mjit_compile_send.erb: simplify control flow
    
    to introduce additional optimization for another `cc->me->def->type`
    later. I carved out the `cc->me->def->type == VM_METHOD_TYPE_ISEQ`
    part because I wanted to check other types as well.
    
    mjit_compile.c: drop get_iseq_if_available and define simplified version
    of it, has_valid_method_type.

  Modified files:
    trunk/mjit_compile.c
    trunk/tool/ruby_vm/views/_mjit_compile_send.erb


More information about the ruby-cvs mailing list