Project

General

Profile

« Previous | Next » 

Revision 43c1eb44

Added by nobu (Nobuyoshi Nakada) over 6 years ago

compile.c: fix stack consistency error

  • compile.c (iseq_peephole_optimize): fix stack consistency error
    from return in loop, by adding extra pop when replacing jump
    with leave, which is never reached but needed to adjust sp
    calculation. [ruby-core:84589] [Bug #14273]

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