aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2019-01-19 12:33:15 +0000
committerYann Herklotz <ymherklotz@gmail.com>2019-01-19 12:33:15 +0000
commit395bdaaddad0d6250d19634f5c4d38886d160878 (patch)
treeeb00880dbe928781836fc9884664f70f167d693a /src
parentfbd7ac5554561587e3d1c08ec125ab2d7b5ebb09 (diff)
downloadverismith-395bdaaddad0d6250d19634f5c4d38886d160878.tar.gz
verismith-395bdaaddad0d6250d19634f5c4d38886d160878.zip
Inline the timeout function
Diffstat (limited to 'src')
-rw-r--r--src/VeriFuzz/Simulator/General.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/VeriFuzz/Simulator/General.hs b/src/VeriFuzz/Simulator/General.hs
index a024029..3615d3a 100644
--- a/src/VeriFuzz/Simulator/General.hs
+++ b/src/VeriFuzz/Simulator/General.hs
@@ -40,9 +40,11 @@ class (Simulator a) => Synthesize a where
timeout :: FilePath -> [Text] -> Sh Text
timeout = command1 "timeout" ["180"] . toTextIgnore
+{-# INLINE timeout #-}
timeout_ :: FilePath -> [Text] -> Sh ()
timeout_ = command1_ "timeout" ["180"] . toTextIgnore
+{-# INLINE timeout_ #-}
-- | Helper function to convert bytestrings to integers
bsToI :: ByteString -> Integer