projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
optimisation for isAlive()
[ghc-hetmet.git]
/
rts
/
sm
/
GCAux.c
diff --git
a/rts/sm/GCAux.c
b/rts/sm/GCAux.c
index
0fb61f1
..
df47e18
100644
(file)
--- a/
rts/sm/GCAux.c
+++ b/
rts/sm/GCAux.c
@@
-41,7
+41,6
@@
isAlive(StgClosure *p)
q = UNTAG_CLOSURE(p);
ASSERT(LOOKS_LIKE_CLOSURE_PTR(q));
- info = get_itbl(q);
// ignore static closures
//
@@
-71,6
+70,7
@@
isAlive(StgClosure *p)
return p;
}
+ info = get_itbl(q);
switch (info->type) {
case IND: