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
6d6a9574
Commit
6d6a9574
authored
Apr 25, 2005
by
simonmar
Browse files
[project @ 2005-04-25 13:45:40 by simonmar]
Yet another StgClosure that should be StgThunk
parent
c63c56c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/RtsAPI.c
View file @
6d6a9574
...
...
@@ -199,9 +199,9 @@ rts_mkString (char *s)
HaskellObj
rts_apply
(
HaskellObj
f
,
HaskellObj
arg
)
{
Stg
Closure
*
ap
;
Stg
Thunk
*
ap
;
ap
=
(
Stg
Closure
*
)
allocate
(
sizeofW
(
Stg
Closure
)
+
2
);
ap
=
(
Stg
Thunk
*
)
allocate
(
sizeofW
(
Stg
Thunk
)
+
2
);
SET_HDR
(
ap
,
(
StgInfoTable
*
)
&
stg_ap_2_upd_info
,
CCS_SYSTEM
);
ap
->
payload
[
0
]
=
f
;
ap
->
payload
[
1
]
=
arg
;
...
...
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