Added stack checks to the CPS algorithm
[ghc-hetmet.git] / compiler / codeGen / CgMonad.lhs
index e3c8a77..d40c511 100644 (file)
@@ -745,7 +745,7 @@ emitSimpleProc :: CLabel -> Code -> Code
 emitSimpleProc lbl code
   = do { stmts <- getCgStmts code
        ; blks <- cgStmtsToBlocks stmts
-       ; emitProc CmmNonInfo lbl [] blks }
+       ; emitProc (CmmNonInfo Nothing) lbl [] blks }
 
 getCmm :: Code -> FCode Cmm
 -- Get all the CmmTops (there should be no stmts)