Project

General

Profile

Backport #10140

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

Added by Tomoyuki Chikanaga over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
[ruby-core:64392]

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 over 2 years 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 [ruby-core:64901] Updated by Tomoyuki Chikanaga over 2 years 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