[Git][ghc/ghc][wip/reduce-type-in-stg] FIx whitespace
Jaro Reinders pushed to branch wip/reduce-type-in-stg at Glasgow Haskell Compiler / GHC Commits: 30bdbf92 by Jaro Reinders at 2026-04-21T14:53:39+02:00 FIx whitespace - - - - - 2 changed files: - compiler/GHC/CoreToStg.hs - compiler/GHC/StgToCmm/Prim.hs Changes: ===================================== compiler/GHC/CoreToStg.hs ===================================== @@ -548,10 +548,10 @@ mkStgApp f how_bound core_args stg_args res_ty else StgConApp dc NoNumber stg_args [] - -- We rewrite the 'tagToEnum#' primop to a special 'StgTagToEnumOp' which + -- We rewrite the 'tagToEnum#' primop to a special 'StgTagToEnumOp' which -- stores the type constructor information. See Note [tagToEnum# in STG] -- in GHC.Stg.Syntax. - PrimOpId TagToEnumOp _ -> + PrimOpId TagToEnumOp _ -> StgOpApp (StgTagToEnumOp (tcTyConAppTyCon res_ty)) stg_args -- Some primitive operator that might be implemented as a library call. ===================================== compiler/GHC/StgToCmm/Prim.hs ===================================== @@ -1682,7 +1682,7 @@ emitPrimOp cfg primop = then Left (MO_S_Mul2 (wordWidth platform)) else Right genericIntMul2Op - -- 'tagToEnum#' is removed in CoreToStg and rewritten to a special + -- 'tagToEnum#' is removed in CoreToStg and rewritten to a special -- 'StgTagToEnumOp' from GHC.Stg.Syntax instead. -- See Note [tagToEnum# in STG] in GHC.Stg.Syntax TagToEnumOp -> panic "emitPrimOp: TagToEnumOp should have been gone by now" View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/30bdbf92ad38746b6075070ba3605ed7... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/30bdbf92ad38746b6075070ba3605ed7... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Jaro Reinders (@jaro)