[Bug:1.9] method_missing $B$N:FDj5A$G(B Stack consistency error

e$B%o%J%Y$H?=$7$^$9!#e(B

[Bug #513] e$B$H;w$?8=>]$,e(B vm_method_missing e$BCf$Ge(B
POPN e$BE~C#A0$Ke(B break e$B$7$?>l9g$K$b5/$-$k$h$&$G$9!#e(B

$ ruby -e ’
def method_missing(m)
yield
end
foo {break}

-e:5: [BUG] Stack consistency error (sp: 7, bp: 6)
ruby 1.9.0 (2008-08-31 revision 18997) [i386-mingw32]

– control frame ----------
c:0003 p:0027 s:0007 b:0006 l:000005 d:000005 TOP -e:5
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
:private_class_method
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP :384

DBG> : “-e:5:in `’”

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application’s support team for more information.

e$B%A%1%C%He(B #529 e$B$,99?7$5$l$^$7$?!#e(B (by Yusuke E.)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r19072.

http://redmine.ruby-lang.org/issues/show/529