[macruby-changes] [2678] MacRuby/trunk/load.c

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 29 15:53:14 PDT 2009


Revision: 2678
          http://trac.macosforge.org/projects/ruby/changeset/2678
Author:   lsansonetti at apple.com
Date:     2009-09-29 15:53:11 -0700 (Tue, 29 Sep 2009)
Log Message:
-----------
disable rbo for 32-bit

Modified Paths:
--------------
    MacRuby/trunk/load.c

Modified: MacRuby/trunk/load.c
===================================================================
--- MacRuby/trunk/load.c	2009-09-29 21:12:11 UTC (rev 2677)
+++ MacRuby/trunk/load.c	2009-09-29 22:53:11 UTC (rev 2678)
@@ -385,7 +385,11 @@
     const char *var_load_path = "$:";
     ID id_load_path = rb_intern(var_load_path);
 
+#if __LP64__
     rbo_enabled = !ruby_is_miniruby && getenv("VM_DISABLE_RBO") == NULL;
+#else
+    rbo_enabled = false; // rbo are only 64-bit for now.
+#endif
 
     rb_define_virtual_variable("$:", rb_vm_load_path, 0);
     rb_alias_variable((rb_intern)("$-I"), id_load_path);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090929/75ef721d/attachment.html>


More information about the macruby-changes mailing list