[ruby-cvs:72032] k0kubun:r64940 (trunk): mjit.h: introduce MJIT_STATIC for full mswin JIT support

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sun Oct 7 22:11:27 JST 2018


k0kubun	2018-10-07 22:11:27 +0900 (Sun, 07 Oct 2018)

  New Revision: 64940

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

  Log:
    mjit.h: introduce MJIT_STATIC for full mswin JIT support
    
    This change resolves most of major remaining MJIT bugs on mswin.
    Since Visual Studio doesn't support generating pre-processed code
    preserving macros, we can't use transform_mjit_header approach for mswin.
    So we need to transform MJIT header using macro like this.
    
    vm.c: use MJIT_STATIC for non-static functions that exist on MJIT header
    and cause conflict on link.
    vm_insnhelper.c: ditto
    
    test_jit.rb: remove many skips for mswin.

  Modified files:
    trunk/mjit.h
    trunk/test/ruby/test_jit.rb
    trunk/vm.c
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list