Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
233a4687
Commit
233a4687
authored
Apr 16, 2008
by
simonmarhaskell@gmail.com
Browse files
optimisation for isAlive()
parent
01e06bc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
rts/sm/GCAux.c
View file @
233a4687
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment