Project

General

Profile

This project is closed and read-only.

Actions

Backport #10140

closed

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

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

Added by nagachika (Tomoyuki Chikanaga) about 12 years ago. Updated about 12 years ago.


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.

Updated by nagachika (Tomoyuki Chikanaga) about 12 years ago Actions #1 [ruby-core:64901]

  • 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.
Actions

Also available in: PDF Atom