[ruby-cvs:71774] k0kubun:r64682 (trunk): transform_mjit_header.rb: add static to Init_*

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Sep 11 20:26:15 JST 2018


k0kubun	2018-09-11 20:26:15 +0900 (Tue, 11 Sep 2018)

  New Revision: 64682

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

  Log:
    transform_mjit_header.rb: add static to Init_*
    
    as well, to make CI succeed with VM_CHECK_MODE > 1.
    
    vm_insnhelper.c: drop unnecessary MJIT_HEADER ifdef. This is intended to
    be ignored by having `static inline`. Removing that by macro would be
    helpful for minimizing compilation time, but the impact is not so big
    and having many MJIT_HEADER check would be bad for maintainability.

  Modified files:
    trunk/tool/transform_mjit_header.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list