From 276fb7e77b20b33f099a11c89e94388ffe3ae40d Mon Sep 17 00:00:00 2001
From: matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Wed, 2 Jun 2010 03:05:06 +0000
Subject: * compile.c (iseq_compile_each): should consider block on stack,   if
 block argument is passed.  [ruby-core:30534]

* parse.c (arg_concat_gen): should append to nd_head, not to
  nd_iter for NODE_BLOCK_PASS.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 insns.def | 1 +
 1 file changed, 1 insertion(+)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index f75007dca2..34cbaa4d35 100644
--- a/insns.def
+++ b/insns.def
@@ -498,6 +498,7 @@ concatarray
 (VALUE ary1, VALUE ary2st)
 (VALUE ary)
 {
+    const VALUE *sp = GET_SP();
     const VALUE ary2 = ary2st;
     VALUE tmp1 = rb_check_convert_type(ary1, T_ARRAY, "Array", "to_a");
     VALUE tmp2 = rb_check_convert_type(ary2, T_ARRAY, "Array", "to_a");
-- 
cgit v1.2.3

