projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
01e06bc
)
optimisation for isAlive()
author
Simon Marlow
<simonmarhaskell@gmail.com>
Wed, 16 Apr 2008 23:43:49 +0000
(23:43 +0000)
committer
Simon Marlow
<simonmarhaskell@gmail.com>
Wed, 16 Apr 2008 23:43:49 +0000
(23:43 +0000)
rts/sm/GCAux.c
patch
|
blob
|
history
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: