Backport #10140

Backport r47191 (don't pass a non-VALUE argument to RB_OBJ_WRITE)

Added by Tomoyuki Chikanaga 12 months ago. Updated 11 months ago.

[ruby-core:64392]
Status:Closed
Priority:Normal
Assignee:Tomoyuki Chikanaga

Description

In commit message:

Should not insert write barrier from
non-RVALUE data (to non-RVALUE data, of course).
Ruby 2.1 also has a same problem.

Associated revisions

Revision 47481
Added by Tomoyuki Chikanaga 11 months ago

merge revision(s) r47191: [Backport #10140]

* iseq.c (rb_iseq_clone): Should not insert write barrier from
  non-RVALUE data (to non-RVALUE data, of course).
  Ruby 2.1 also has a same problem.

History

#1 Updated by Tomoyuki Chikanaga 11 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r47481.


merge revision(s) r47191: [Backport #10140]

* iseq.c (rb_iseq_clone): Should not insert write barrier from
  non-RVALUE data (to non-RVALUE data, of course).
  Ruby 2.1 also has a same problem.

Also available in: Atom PDF