[project @ 2003-11-17 14:23:30 by simonmar]
[ghc-hetmet.git] / ghc / includes / Updates.h
index ac98731..ebc2e73 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: Updates.h,v 1.30 2003/03/27 13:54:31 simonmar Exp $
+ * $Id: Updates.h,v 1.34 2003/11/12 17:27:06 sof Exp $
  *
  * (c) The GHC Team, 1998-1999
  *
@@ -32,8 +32,9 @@
 # define UPD_SPEC_IND(updclosure, ind_info, heapptr, and_then) \
    UPD_PERM_IND(updclosure,heapptr); and_then
 #else
+#  define SEMI ;
 # define UPD_IND(updclosure, heapptr) \
-   UPD_REAL_IND(updclosure,&stg_IND_info,heapptr,)
+   UPD_REAL_IND(updclosure,&stg_IND_info,heapptr,SEMI)
 # define UPD_SPEC_IND(updclosure, ind_info, heapptr, and_then) \
    UPD_REAL_IND(updclosure,ind_info,heapptr,and_then)
 #endif
@@ -97,7 +98,7 @@
        const StgInfoTable *info;                                       \
        info = updclosure->header.info;                                 \
         AWAKEN_BQ(info,updclosure);                                    \
-       updateWithIndirection(info,                                     \
+       updateWithIndirection(info,&stg_IND_info,                       \
                              (StgClosure *)updclosure,                 \
                              (StgClosure *)heapptr,);                  \
    }
        const StgInfoTable *info;                       \
        info = ((StgClosure *)updclosure)->header.info; \
         AWAKEN_BQ_NOLOCK(info,updclosure);             \
-       updateWithIndirection(info,                     \
+       updateWithIndirection(info,&stg_IND_info,       \
                              (StgClosure *)updclosure, \
-                             (StgClosure *)heapptr);   \
+                             (StgClosure *)heapptr,);  \
    }
 # endif