work around MSVC optimizer bug?

svn: r9591
This commit is contained in:
Matthew Flatt 2008-05-02 14:07:43 +00:00
parent af9d223616
commit 0019a752fa

View File

@ -1306,8 +1306,8 @@ inline static void register_new_thread(void *t, void *c)
struct gc_thread_info *work;
work = (struct gc_thread_info *)malloc(sizeof(struct gc_thread_info));
work->owner = current_owner((Scheme_Custodian *)c);
((Scheme_Thread *)t)->gc_info = work;
work->owner = current_owner((Scheme_Custodian *)c);
work->thread = t;
work->next = threads;
threads = work;