[macruby-changes] [681] MacRuby/trunk/objc.m

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 29 17:12:25 PDT 2008


Revision: 681
          http://trac.macosforge.org/projects/ruby/changeset/681
Author:   lsansonetti at apple.com
Date:     2008-10-29 17:12:25 -0700 (Wed, 29 Oct 2008)
Log Message:
-----------
removing unnecessary call

Modified Paths:
--------------
    MacRuby/trunk/objc.m

Modified: MacRuby/trunk/objc.m
===================================================================
--- MacRuby/trunk/objc.m	2008-10-28 01:23:43 UTC (rev 680)
+++ MacRuby/trunk/objc.m	2008-10-30 00:12:25 UTC (rev 681)
@@ -1671,8 +1671,6 @@
 	rb_fatal("can't prepare ruby to objc cif");
     }
 
-    closure = (ffi_closure *)malloc(sizeof(ffi_closure));
-
     /* XXX mmap() and mprotect() are 2 expensive calls, maybe we should try to 
      * mmap() and mprotect() a large memory page and reuse it for closures?
      */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20081029/1d12b53c/attachment.html>


More information about the macruby-changes mailing list