#573: Creating a void pointer causes abort()
--------------------------------+-------------------------------------------
 Reporter:  ca...@…             |       Owner:  lsansone...@…        
     Type:  defect              |      Status:  new                  
 Priority:  major               |   Milestone:  MacRuby 0.5          
Component:  MacRuby             |    Keywords:                       
--------------------------------+-------------------------------------------

Comment(by danielcavan...@…):

 a patch to fix this issue

 firstly, it refactors the new-pointer code to avoid querying the size of
 void and reduces duplication as a side effect

 secondly, it alters get_sizeof() to not query llvm when passed an unsized
 typed, in case this happens again. really llvm should be doing this, but
 it doesn't so we just have to deal with it

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to