[macruby-changes] [4286] MacRuby/trunk

source_changes at macosforge.org source_changes at macosforge.org
Fri Jun 25 16:06:03 PDT 2010


Revision: 4286
          http://trac.macosforge.org/projects/ruby/changeset/4286
Author:   lsansonetti at apple.com
Date:     2010-06-25 16:06:03 -0700 (Fri, 25 Jun 2010)
Log Message:
-----------
+[MacRuby sharedRuntime]: don't forget to init the jit

Modified Paths:
--------------
    MacRuby/trunk/MacRuby.m
    MacRuby/trunk/ruby.c
    MacRuby/trunk/vm.h

Modified: MacRuby/trunk/MacRuby.m
===================================================================
--- MacRuby/trunk/MacRuby.m	2010-06-25 22:51:43 UTC (rev 4285)
+++ MacRuby/trunk/MacRuby.m	2010-06-25 23:06:03 UTC (rev 4286)
@@ -29,6 +29,7 @@
 	    ruby_sysinit(&argc, &argv);
 	    ruby_init();
 	    rb_vm_init_compiler();
+	    rb_vm_init_jit();
 	}
     }
     return runtime;

Modified: MacRuby/trunk/ruby.c
===================================================================
--- MacRuby/trunk/ruby.c	2010-06-25 22:51:43 UTC (rev 4285)
+++ MacRuby/trunk/ruby.c	2010-06-25 23:06:03 UTC (rev 4286)
@@ -800,8 +800,6 @@
 
 static rb_encoding *src_encoding;
 
-void rb_vm_init_jit(void);
-
 static VALUE
 process_options(VALUE arg)
 {

Modified: MacRuby/trunk/vm.h
===================================================================
--- MacRuby/trunk/vm.h	2010-06-25 22:51:43 UTC (rev 4285)
+++ MacRuby/trunk/vm.h	2010-06-25 23:06:03 UTC (rev 4286)
@@ -277,6 +277,8 @@
 void rb_vm_aot_compile(NODE *node);
 
 void rb_vm_init_compiler(void);
+void rb_vm_init_jit(void);
+
 bool rb_vm_running(void);
 void rb_vm_set_running(bool flag);
 VALUE rb_vm_default_random(void);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100625/e5380172/attachment.html>


More information about the macruby-changes mailing list