projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a8b5e84
)
Add a missing "entryCode"
author
Ian Lynagh
<igloo@earth.li>
Sat, 25 Aug 2007 17:12:31 +0000
(17:12 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 25 Aug 2007 17:12:31 +0000
(17:12 +0000)
This was causing us to try to jump to the address of an infotable when
unregisterised, leading to a segfault.
compiler/codeGen/CgTailCall.lhs
patch
|
blob
|
history
diff --git
a/compiler/codeGen/CgTailCall.lhs
b/compiler/codeGen/CgTailCall.lhs
index
e25e794
..
cd51fba
100644
(file)
--- a/
compiler/codeGen/CgTailCall.lhs
+++ b/
compiler/codeGen/CgTailCall.lhs
@@
-191,7
+191,7
@@
performTailCall fun_info arg_amodes pending_assts
-- No, enter the closure.
; enterClosure
; labelC is_constr
- ; stmtC (CmmJump (CmmLit (CmmLabel lbl)) [])
+ ; stmtC (CmmJump (entryCode $ CmmLit (CmmLabel lbl)) [])
}
{-
-- This is a scrutinee for a case expression