Skip to content

Commit 42f1c52

Browse files
committed
merge revision(s) 44720: [Backport ruby#9455]
* compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block as hash key when loading serialized instruction sequences from arrays. [Bug ruby#9455] [ruby-core:60146] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@45069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent b0578a2 commit 42f1c52

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Fri Feb 21 13:39:21 2014 Charlie Somerville <[email protected]>
2+
3+
* compile.c (iseq_build_from_ary_body): Use :blockptr instead of :block
4+
as hash key when loading serialized instruction sequences from arrays.
5+
[Bug #9455] [ruby-core:60146]
6+
17
Thu Feb 20 12:58:45 2014 Tanaka Akira <[email protected]>
28

39
* process.c (READ_FROM_CHILD): Apply the last hunk of

compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5766,7 +5766,7 @@ iseq_build_from_ary_body(rb_iseq_t *iseq, LINK_ANCHOR *anchor,
57665766
VALUE vmid = rb_hash_aref(op, ID2SYM(rb_intern("mid")));
57675767
VALUE vflag = rb_hash_aref(op, ID2SYM(rb_intern("flag")));
57685768
VALUE vorig_argc = rb_hash_aref(op, ID2SYM(rb_intern("orig_argc")));
5769-
VALUE vblock = rb_hash_aref(op, ID2SYM(rb_intern("block")));
5769+
VALUE vblock = rb_hash_aref(op, ID2SYM(rb_intern("blockptr")));
57705770

57715771
if (!NIL_P(vmid)) mid = SYM2ID(vmid);
57725772
if (!NIL_P(vflag)) flag = NUM2ULONG(vflag);

version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#define RUBY_VERSION "2.1.1"
2-
#define RUBY_RELEASE_DATE "2014-02-20"
3-
#define RUBY_PATCHLEVEL 39
2+
#define RUBY_RELEASE_DATE "2014-02-21"
3+
#define RUBY_PATCHLEVEL 40
44

55
#define RUBY_RELEASE_YEAR 2014
66
#define RUBY_RELEASE_MONTH 2
7-
#define RUBY_RELEASE_DAY 20
7+
#define RUBY_RELEASE_DAY 21
88

99
#include "ruby/version.h"
1010

0 commit comments

Comments
 (0)