Skip to content

Commit

Permalink
fix for #76
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.macosforge.org/repository/ruby/MacRuby/trunk@563 23306eb0-4c56-4727-a40e-e92c0eb68959
  • Loading branch information
lrz committed Sep 6, 2008
1 parent ae3481c commit 89d574b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions thread.c
Expand Up @@ -312,11 +312,9 @@ thread_start_func_2(rb_thread_t *th, VALUE *stack_start, VALUE *register_stack_s
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);

Expand Down Expand Up @@ -1991,12 +1989,10 @@ rb_gc_set_stack_end(VALUE **stack_end_p)
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);
}
Expand Down

0 comments on commit 89d574b

Please sign in to comment.