projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93bd575
)
[project @ 2002-02-26 12:52:58 by sewardj]
author
sewardj
<unknown>
Tue, 26 Feb 2002 12:52:58 +0000
(12:52 +0000)
committer
sewardj
<unknown>
Tue, 26 Feb 2002 12:52:58 +0000
(12:52 +0000)
Fix sparc borkage.
ghc/compiler/ghci/ByteCodeItbls.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/ghci/ByteCodeItbls.lhs
b/ghc/compiler/ghci/ByteCodeItbls.lhs
index
7543aca
..
9dda624
100644
(file)
--- a/
ghc/compiler/ghci/ByteCodeItbls.lhs
+++ b/
ghc/compiler/ghci/ByteCodeItbls.lhs
@@
-133,7
+133,7
@@
ptrToInt (Ptr a#) = I# (addr2Int# a#)
type ItblCode = Word32
mkJumpToAddr a
- = let w32 = fromIntegral ()
+ = let w32 = fromIntegral (ptrToInt a)
hi22, lo10 :: Word32 -> Word32
lo10 x = x .&. 0x3FF