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
jberryman
GHC
Commits
6184716f
Commit
6184716f
authored
Aug 20, 2001
by
simonpj
Browse files
[project @ 2001-08-20 14:18:30 by simonpj]
Amplify comment on mkMachInt a little
parent
cc7aac1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/basicTypes/Literal.lhs
View file @
6184716f
...
...
@@ -147,7 +147,10 @@ instance Ord Literal where
mkMachInt, mkMachWord, mkMachInt64, mkMachWord64 :: Integer -> Literal
mkMachInt x = -- ASSERT2( inIntRange x, integer x )
-- not true: you can write out of range Int# literals
-- Not true: you can write out of range Int# literals
-- For example, one can write (intToWord# 0xffff0000) to
-- get a particular Word bit-pattern, and there's no other
-- convenient way to write such literals, which is why we allow it.
MachInt x
mkMachWord x = -- ASSERT2( inWordRange x, integer x )
MachWord x
...
...
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