projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-11-21 09:36:48 by simonpj]
[ghc-hetmet.git]
/
ghc
/
rts
/
Printer.c
diff --git
a/ghc/rts/Printer.c
b/ghc/rts/Printer.c
index
9277c72
..
3ac0e4e
100644
(file)
--- a/
ghc/rts/Printer.c
+++ b/
ghc/rts/Printer.c
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: Printer.c,v 1.52 2002/07/17 09:21:50 simonmar Exp $
+ * $Id: Printer.c,v 1.53 2002/07/24 18:18:13 sof Exp $
*
* (c) The GHC Team, 1994-2000.
*
*
* (c) The GHC Team, 1994-2000.
*
@@
-980,7
+980,7
@@
findPtr(P_ p, int follow)
if (*q == (W_)p) {
if (i < arr_size) {
r = q;
if (*q == (W_)p) {
if (i < arr_size) {
r = q;
- while (!LOOKS_LIKE_GHC_INFO(*r) || *r == NULL) {
+ while (!LOOKS_LIKE_GHC_INFO(*r) || (P_)*r == NULL) {
r--;
}
fprintf(stdout, "%p = ", r);
r--;
}
fprintf(stdout, "%p = ", r);