projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-07-11 15:34:07 by simonmar]
[ghc-hetmet.git]
/
ghc
/
compiler
/
ghci
/
ByteCodeItbls.lhs
diff --git
a/ghc/compiler/ghci/ByteCodeItbls.lhs
b/ghc/compiler/ghci/ByteCodeItbls.lhs
index
5cc07d6
..
835fd2a
100644
(file)
--- a/
ghc/compiler/ghci/ByteCodeItbls.lhs
+++ b/
ghc/compiler/ghci/ByteCodeItbls.lhs
@@
-112,7
+112,7
@@
make_constr_itbls cons
--putStrLn ("# ptrs of itbl is " ++ show ptrs)
--putStrLn ("# nptrs of itbl is " ++ show nptrs_really)
poke addr itbl
--putStrLn ("# ptrs of itbl is " ++ show ptrs)
--putStrLn ("# nptrs of itbl is " ++ show nptrs_really)
poke addr itbl
- return (getName dcon, addr `plusPtr` 8)
+ return (getName dcon, addr `plusPtr` (2 * wORD_SIZE))
-- Make code which causes a jump to the given address. This is the
-- Make code which causes a jump to the given address. This is the