projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2002-02-26 12:52:58 by sewardj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
ghci
/
ByteCodeItbls.lhs
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