[MacRuby] #1303: GC does not actively work with RubySpec after "core/gc".

MacRuby ruby-noreply at macosforge.org
Mon Jun 20 20:16:58 PDT 2011


#1303: GC does not actively work with RubySpec after "core/gc".
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |        Owner:  lsansonetti@…        
     Type:  defect                |       Status:  closed               
 Priority:  critical              |    Milestone:  MacRuby 0.11         
Component:  MacRuby               |   Resolution:  fixed                
 Keywords:                        |  
----------------------------------+-----------------------------------------

Comment(by lsansonetti@…):

 Indeed it's not necessary, but I like to have GC_WB here for code
 consistency / readability. As GC_WB() is a macro, and as NULL/0 is a
 special constant, the compiler will optimize the call to a simple
 assignment.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1303#comment:6>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list