Project

General

Profile

« Previous | Next » 

Revision 5e7167f8

Added by nobu (Nobuyoshi Nakada) over 5 years ago

compile.c: remove unreachable jump only

  • compile.c (iseq_peephole_optimize): remove unreachable jump
    instruction only. if it is labeled and referred from other
    instructions, it is reachable and must not be removed.
    [ruby-core:87830] [Bug #14897]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e