diff options
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -363,7 +363,7 @@ putstring () (VALUE val) { - val = rb_str_resurrect(str); + val = rb_ec_str_resurrect(ec, str); } /* put concatenate strings */ @@ -426,7 +426,7 @@ newarray (VALUE val) // attr rb_snum_t sp_inc = 1 - (rb_snum_t)num; { - val = rb_ary_new4(num, STACK_ADDR_FROM_TOP(num)); + val = rb_ec_ary_new_from_values(ec, num, STACK_ADDR_FROM_TOP(num)); } /* put new array initialized with num values on the stack. There |