Backport #1562

r22674 should be backported to 1.8.6

Added by shyouhei (Shyouhei Urabe) almost 3 years ago. Updated about 1 year ago.

[ruby-core:23685]
Status:Assigned Start date:06/03/2009
Priority:Normal Due date:
Assignee:wyhaines (Kirk Haines) % Done:

0%

Category:-
Target version:-

Description

IMHO revision r22674 is worth backporting to 1.8.6.
cf. http://redmine.ruby-lang.org/repositories/revision/ruby-18?rev=22674

Note that RB_GC_GUARD() is a simple macro introduced since 1.8.7.  It's as simple as:

 #define RB_GC_GUARD(v) (*(volatile VALUE *)&(v))

History

Updated by shyouhei (Shyouhei Urabe) over 1 year ago

  • Status changed from Open to Assigned

Also available in: Atom PDF