1
1
mirror of https://github.com/tweag/asterius.git synced 2024-08-16 04:00:24 +03:00

add a short comment on result type, marshalCmmBlockBranch

This commit is contained in:
Norman Ramsey 2021-10-22 09:50:24 -04:00
parent 9f2574d9c2
commit 7e9eaf743d

View File

@ -1561,6 +1561,8 @@ newtype NeedsUnreachableBlock = NeedsUnreachableBlock Bool
marshalCmmBlockBranch ::
GHC.CmmNode GHC.O GHC.C ->
CodeGen ([Expression], Maybe Expression, [RelooperAddBranch], NeedsUnreachableBlock)
-- results: branch hwelpers, siwtch cond expr, branches,
marshalCmmBlockBranch instr = case instr of
GHC.CmmBranch lbl -> do
k <- marshalLabel lbl