summaryrefslogtreecommitdiff
path: root/backgraph.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-10-17 20:12:19 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:50 +0400
commit3b5c352965d4da78e10fbe65890e5d4af583f17e (patch)
tree769ee5b4f7bd4e58aba393ac27244f714026c0e6 /backgraph.c
parent340c70374894e651e9ed32adcdebfb3e3fa2c69c (diff)
downloadbdwgc-3b5c352965d4da78e10fbe65890e5d4af583f17e.tar.gz
2009-10-17 Ivan Maidanski <ivmai@mail.ru>
* backgraph.c (SET_OH_BG_PTR): Place outermost parenthesis properly. * darwin_stop_world.c: Replace "if DEBUG_THREADS" with "ifdef DEBUG_THREADS". * pthread_stop_world.c: Ditto. * pthread_support.c: Ditto. * include/gc_inline.h: Guard with GC_INLINE_H.
Diffstat (limited to 'backgraph.c')
-rw-r--r--backgraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backgraph.c b/backgraph.c
index 40d6cff2..a4558697 100644
--- a/backgraph.c
+++ b/backgraph.c
@@ -167,7 +167,7 @@ static void pop_in_progress(ptr_t p)
#define GET_OH_BG_PTR(p) \
(ptr_t)REVEAL_POINTER(((oh *)(p)) -> oh_bg_ptr)
-#define SET_OH_BG_PTR(p,q) (((oh *)(p)) -> oh_bg_ptr) = HIDE_POINTER(q)
+#define SET_OH_BG_PTR(p,q) (((oh *)(p)) -> oh_bg_ptr = HIDE_POINTER(q))
/* Execute s once for each predecessor q of p in the points-to graph. */
/* s should be a bracketed statement. We declare q. */