[ruby-cvs:71381] k0kubun:r64289 (trunk): mjit.c: include mjit_worker.c

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sat Aug 11 18:37:14 JST 2018


k0kubun	2018-08-11 18:37:14 +0900 (Sat, 11 Aug 2018)

  New Revision: 64289

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

  Log:
    mjit.c: include mjit_worker.c
    
    instead of linking functions with mjit_worker.o.
    
    In the r64285's structure, we needed to publish some variables with
    mjit_ prefix. But ideally those variables should be completely private
    in mjit.o (or old mjit_worker.o), and it was hard.
    
    So I chose an approach similar to vm*.c for mjit.c and mjit_worker.c.
    I believe mjit_compile.c is still nice to be separated.
    
    After this commit, I'll remove the mjit_ prefix again...

  Removed files:
    trunk/mjit_internal.h
  Modified files:
    trunk/common.mk
    trunk/mjit.c
    trunk/mjit_worker.c


More information about the ruby-cvs mailing list