summaryrefslogtreecommitdiff
path: root/compiler/utils/FastFunctions.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/utils/FastFunctions.hs')
-rw-r--r--compiler/utils/FastFunctions.hs21
1 files changed, 0 insertions, 21 deletions
diff --git a/compiler/utils/FastFunctions.hs b/compiler/utils/FastFunctions.hs
deleted file mode 100644
index 9a09bb7b76..0000000000
--- a/compiler/utils/FastFunctions.hs
+++ /dev/null
@@ -1,21 +0,0 @@
-{-
-(c) The University of Glasgow, 2000-2006
--}
-
-{-# LANGUAGE CPP, MagicHash, UnboxedTuples #-}
-
-module FastFunctions (
- inlinePerformIO,
- ) where
-
-#include "HsVersions.h"
-
-import GhcPrelude ()
-
-import GHC.Exts
-import GHC.IO (IO(..))
-
--- Just like unsafeDupablePerformIO, but we inline it.
-{-# INLINE inlinePerformIO #-}
-inlinePerformIO :: IO a -> a
-inlinePerformIO (IO m) = case m realWorld# of (# _, r #) -> r