[commit: ghc] wip/T14626: WIP: yes, this crashes (81d8366)
git at git.haskell.org
git at git.haskell.org
Sun Jan 28 16:06:25 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T14626
Link : http://ghc.haskell.org/trac/ghc/changeset/81d8366fceaa2eb89afa92f72303c1f997aae516/ghc
>---------------------------------------------------------------
commit 81d8366fceaa2eb89afa92f72303c1f997aae516
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
>---------------------------------------------------------------
81d8366fceaa2eb89afa92f72303c1f997aae516
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 662dd1a..1d6c654 100644
--- a/compiler/codeGen/StgCmmClosure.hs
+++ b/compiler/codeGen/StgCmmClosure.hs
@@ -634,7 +634,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