Skip to content
Snippets Groups Projects
Commit 981c1c4d authored by Cheng Shao's avatar Cheng Shao
Browse files

Revert "compiler: start deprecating cmmToRawCmmHook"

This reverts commit 1c064ef1. Turns
out the GHC-WPC project does use it to observe Cmm in the pipeline,
see #25363.

(cherry picked from commit 525d451e)
parent 22b948ce
No related branches found
No related tags found
No related merge requests found
......@@ -154,8 +154,6 @@ data Hooks = Hooks
-> IO (Stream IO RawCmmGroup a)))
}
{-# DEPRECATED cmmToRawCmmHook "cmmToRawCmmHook is being deprecated. If you do use it in your project, please raise a GHC issue!" #-}
class HasHooks m where
getHooks :: m Hooks
......
......@@ -6,9 +6,6 @@
{-# OPTIONS_GHC -fprof-auto-top #-}
-- Remove this after cmmToRawCmmHook removal
{-# OPTIONS_GHC -Wno-deprecations #-}
-------------------------------------------------------------------------------
--
-- | Main API for compiling plain Haskell source code.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment