diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-06 15:40:16 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-12-07 08:28:36 +0900 |
commit | 59ddb88da6bf483eeec7b85b8a85cf3719edf440 (patch) | |
tree | 10bd5b25189689e28c0a7b969bdf1cb48a56bb64 /gc.c | |
parent | 91d99025e4776885ceea809123a129cb31cd1db6 (diff) |
RB_EC_NEWOBJ_OF
NEWOBJ with current ec.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3842
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2335,7 +2335,7 @@ rb_wb_protected_newobj_of(VALUE klass, VALUE flags) } VALUE -rb_wb_protected_newobj_of_ec(rb_execution_context_t *ec, VALUE klass, VALUE flags) +rb_ec_wb_protected_newobj_of(rb_execution_context_t *ec, VALUE klass, VALUE flags) { GC_ASSERT((flags & FL_WB_PROTECTED) == 0); return newobj_of_cr(rb_ec_ractor_ptr(ec), klass, flags, 0, 0, 0, TRUE); |