X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2FcodeGen%2FCgMonad.lhs;h=900b6d9b85504322f2e9be7a7684f03e3ec2f3e5;hp=8a3b664fc1aa35bcc2980d9d5bb7244ec0a42eaf;hb=5b1053897fa16ced293e749447e9c027d15d29f5;hpb=f1fc7698ef9997f950be8cb37c9b30dadbb4b631 diff --git a/compiler/codeGen/CgMonad.lhs b/compiler/codeGen/CgMonad.lhs index 8a3b664..900b6d9 100644 --- a/compiler/codeGen/CgMonad.lhs +++ b/compiler/codeGen/CgMonad.lhs @@ -701,6 +701,8 @@ whenC :: Bool -> Code -> Code whenC True code = code whenC False _ = nopC +-- Corresponds to 'emit' in new code generator with a smart constructor +-- from cmm/MkGraph.hs stmtC :: CmmStmt -> Code stmtC stmt = emitCgStmt (CgStmt stmt)