[macruby-changes] [563] MacRuby/trunk/thread.c

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 5 22:17:51 PDT 2008


Revision: 563
          http://trac.macosforge.org/projects/ruby/changeset/563
Author:   lsansonetti at apple.com
Date:     2008-09-05 22:17:51 -0700 (Fri, 05 Sep 2008)
Log Message:
-----------
fix for #76

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

Modified: MacRuby/trunk/thread.c
===================================================================
--- MacRuby/trunk/thread.c	2008-09-06 03:05:17 UTC (rev 562)
+++ MacRuby/trunk/thread.c	2008-09-06 05:17:51 UTC (rev 563)
@@ -312,12 +312,10 @@
     rb_thread_t *main_th;
     VALUE errinfo = Qnil;
 
-#if !WITH_OBJC
     th->machine_stack_start = stack_start;
 #ifdef __ia64
     th->machine_register_stack_start = register_stack_start;
 #endif
-#endif
     thread_debug("thread start: %p\n", th);
 
     native_mutex_lock(&th->vm->global_interpreter_lock);
@@ -1991,13 +1989,11 @@
 void
 rb_gc_save_machine_context(rb_thread_t *th)
 {
-#if !WITH_OBJC
     SET_MACHINE_STACK_END(&th->machine_stack_end);
     FLUSH_REGISTER_WINDOWS;
 #ifdef __ia64
     th->machine_register_stack_end = rb_ia64_bsp();
 #endif
-#endif
     setjmp(th->machine_regs);
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macruby-changes/attachments/20080905/0065d2a4/attachment.html 


More information about the macruby-changes mailing list