From e885517639c2bc1eacedfffe68679c4882b2fa5f Mon Sep 17 00:00:00 2001 From: ko1 Date: Mon, 24 Dec 2007 18:54:52 +0000 Subject: * compile.c (iseq_compile_each): fix stack consistency bug. a patch from Yusuke ENDOH git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 9f79c056fa..a3dea41793 100644 --- a/compile.c +++ b/compile.c @@ -2973,7 +2973,7 @@ iseq_compile_each(rb_iseq_t *iseq, LINK_ANCHOR *ret, NODE * node, int poped) if (iseq->compile_data->redo_label != 0) { /* next in while loop */ debugs("next in while\n"); - pop_after_throw = 1; + pop_after_throw = poped; goto next_by_throw; } else if (iseq->compile_data->end_label) { -- cgit v1.2.3