[Git][ghc/ghc][wip/zap-void-StgOpApp-args] Experiment: Try zapping StgOpApp void args in Unarise

Matthew Craven (@clyring) gitlab at gitlab.haskell.org
Tue Apr 18 00:22:50 UTC 2023



Matthew Craven pushed to branch wip/zap-void-StgOpApp-args at Glasgow Haskell Compiler / GHC


Commits:
c517c838 by Matthew Craven at 2023-04-17T20:22:22-04:00
Experiment: Try zapping StgOpApp void args in Unarise

- - - - -


1 changed file:

- compiler/GHC/Stg/Unarise.hs


Changes:

=====================================
compiler/GHC/Stg/Unarise.hs
=====================================
@@ -534,7 +534,7 @@ unariseExpr rho (StgConApp dc n args ty_args)
       return $ (StgConApp dc n args' (map stgArgType args'))
 
 unariseExpr rho (StgOpApp op args ty)
-  = return (StgOpApp op (unariseFunArgs rho args) ty)
+  = return (StgOpApp op (unariseConArgs rho args) ty)
 
 unariseExpr rho (StgCase scrut bndr alt_ty alts)
   -- tuple/sum binders in the scrutinee can always be eliminated



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c517c83891145cd6c9352aed5008bef6c1934f1f

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c517c83891145cd6c9352aed5008bef6c1934f1f
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230417/f61abaf5/attachment.html>


More information about the ghc-commits mailing list