Commit 6184716f authored by simonpj's avatar simonpj
Browse files

[project @ 2001-08-20 14:18:30 by simonpj]

Amplify comment on mkMachInt a little
parent cc7aac1f
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment