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
023f179b
Commit
023f179b
authored
Jan 14, 2000
by
sewardj
Browse files
[project @ 2000-01-14 14:57:08 by sewardj]
checkCode: handle HP_CHK_UT_ALT.
parent
7c192354
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/nativeGen/StixMacro.lhs
View file @
023f179b
...
...
@@ -260,7 +260,9 @@ checkCode macro args assts
assts (gc_d1 : join : xs))
HP_CHK_UT_ALT ->
error "unimplemented check"
let [words,ptrs,nonptrs,r,ret] = args_stix
in (\xs -> assign_hp words : cjmp_hp :
assts (assign_ret r ret : gc_ut ptrs nonptrs : join : xs))
HP_CHK_GEN ->
error "unimplemented check"
...
...
@@ -276,4 +278,7 @@ gc_unbx_r1 = StJump (StLitLbl (ptext SLIT("stg_gc_unbx_r1")))
gc_f1 = StJump (StLitLbl (ptext SLIT("stg_gc_f1")))
gc_d1 = StJump (StLitLbl (ptext SLIT("stg_gc_d1")))
gc_ut (StInt p) (StInt np)
= StJump (StLitLbl (ptext SLIT("stg_gc_ut_") <> int (fromInteger p)
<> char '_' <> int (fromInteger np)))
\end{code}
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