mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_eval.c (eval_string_with_cref): fix WB miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
892736a7f8
commit
c2269d9aad
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Fri Jun 21 20:32:13 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* vm_eval.c (eval_string_with_cref): fix WB miss.
|
||||||
|
|
||||||
Fri Jun 21 20:15:49 2013 Koichi Sasada <ko1@atdot.net>
|
Fri Jun 21 20:15:49 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* include/ruby/ruby.h: support write barrier protection for T_STRUCT.
|
* include/ruby/ruby.h: support write barrier protection for T_STRUCT.
|
||||||
|
|
|
@ -1283,7 +1283,7 @@ eval_string_with_cref(VALUE self, VALUE src, VALUE scope, NODE *cref, const char
|
||||||
rb_str_update(mesg, 0, 0, RARRAY_AREF(errat, 0));
|
rb_str_update(mesg, 0, 0, RARRAY_AREF(errat, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
RARRAY_AREF(errat, 0) = RARRAY_AREF(bt2, 0);
|
RARRAY_ASET(errat, 0, RARRAY_AREF(bt2, 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rb_exc_raise(errinfo);
|
rb_exc_raise(errinfo);
|
||||||
|
|
Loading…
Reference in a new issue