[ruby-cvs:70410] k0kubun:r63320 (trunk): compile.c: mark catch_except_p of iseq

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed May 2 21:55:57 JST 2018


k0kubun	2018-05-02 21:55:57 +0900 (Wed, 02 May 2018)

  New Revision: 63320

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

  Log:
    compile.c: mark catch_except_p of iseq
    
    which has throw insn, not only ancestor iseqs of it.
    I think we should remove catch_except_p flag and try to simplify the
    catch table itself, to prevent similar bugs in the future.
    
    test_jit.rb: add test to prevent the bug

  Modified files:
    trunk/compile.c
    trunk/test/ruby/test_jit.rb


More information about the ruby-cvs mailing list