Skip to content
GitLab
Menu
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
968e56da
Commit
968e56da
authored
Aug 21, 2001
by
sewardj
Browse files
[project @ 2001-08-21 10:12:02 by sewardj]
Teach it about MUT_VAR.
parent
eaa2e86d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Printer.c
View file @
968e56da
/* -----------------------------------------------------------------------------
* $Id: Printer.c,v 1.4
5
2001/08/
14 13:40:09
sewardj Exp $
* $Id: Printer.c,v 1.4
6
2001/08/
21 10:12:02
sewardj Exp $
*
* (c) The GHC Team, 1994-2000.
*
...
...
@@ -96,6 +96,13 @@ void printClosure( StgClosure *obj )
disassemble
(
(
StgBCO
*
)
obj
);
break
;
case
MUT_VAR
:
{
StgMutVar
*
mv
=
(
StgMutVar
*
)
obj
;
fprintf
(
stderr
,
"MUT_VAR(var=%p, link=%p)
\n
"
,
mv
->
var
,
mv
->
mut_link
);
break
;
}
case
AP_UPD
:
{
StgAP_UPD
*
ap
=
stgCast
(
StgAP_UPD
*
,
obj
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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