declare g0 (fixes compilation failure with -fvia-C)
authorSimon Marlow <marlowsd@gmail.com>
Tue, 8 Dec 2009 10:09:25 +0000 (10:09 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Tue, 8 Dec 2009 10:09:25 +0000 (10:09 +0000)
includes/stg/MiscClosures.h

index 24323cd..e68282e 100644 (file)
@@ -618,7 +618,7 @@ extern StgWord stg_ap_stack_entries[];
 extern StgWord stg_stack_save_entries[];
 
 // Storage.c
-extern unsigned int RTS_VAR(alloc_blocks);
+extern unsigned int RTS_VAR(g0);
 extern unsigned int RTS_VAR(alloc_blocks_lim);
 extern StgWord RTS_VAR(weak_ptr_list);
 extern StgWord RTS_VAR(atomic_modify_mutvar_mutex);