[commit: ghc] wip/T14626: WIP: yes, this crashes (f4d1e75)
git at git.haskell.org
git at git.haskell.org
Wed Jan 3 23:56:18 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T14626
Link : http://ghc.haskell.org/trac/ghc/changeset/f4d1e759e7d413a0ff0fedf933f440610c4161e0/ghc
>---------------------------------------------------------------
commit f4d1e759e7d413a0ff0fedf933f440610c4161e0
Author: Gabor Greif <ggreif at gmail.com>
Date: Wed Jan 3 22:53:06 2018 +0100
WIP: yes, this crashes
trying allowing only OtherCon next
>---------------------------------------------------------------
f4d1e759e7d413a0ff0fedf933f440610c4161e0
compiler/codeGen/StgCmmClosure.hs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/compiler/codeGen/StgCmmClosure.hs b/compiler/codeGen/StgCmmClosure.hs
index 21466fc..720d9a9 100644
--- a/compiler/codeGen/StgCmmClosure.hs
+++ b/compiler/codeGen/StgCmmClosure.hs
@@ -628,7 +628,8 @@ getCallMethod _ _name _ (LFUnknown True) _n_arg _v_args _cg_locs _self_loop_info
getCallMethod _ name id (LFUnknown False) 0 _v_args _cg_loc _self_loop_info
| isEvaldUnfolding (idUnfolding id)
- , ('w':'i':'l':'d':_) <- occNameString (nameOccName name) -- FIXME: remove later
+ -- , ('w':'i':'l':'d':_) <- occNameString (nameOccName name) -- FIXME: remove later
+ , take 4 (occNameString (nameOccName name)) == "wild" || pprTrace "getCallMethod#####" (ppr id $$ ppr (idUnfolding id)) True
= {-pprTrace "getCallMethod" (ppr id)-} ReturnIt -- seems to come from case, must be (tagged) WHNF already
{-
getCallMethod _ name _ (LFUnknown False) 0 _v_args _cg_loc _self_loop_info
More information about the ghc-commits
mailing list