Skip to content

Commit

Permalink
Remove warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully committed Mar 19, 2024
1 parent 3f96021 commit 430d7f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 1 addition & 5 deletions plutus-core/plutus-core/src/PlutusCore/Builtin/Meaning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -411,9 +411,5 @@ toBuiltinsRuntime semvar cost =
-- using a @NOINLINE@ pragma we tell GHC to create a separate thunk, which it can properly
-- optimize, because the other bazillion things don't get in the way.
{-# NOINLINE runtime #-}
in
-- Force each 'BuiltinRuntime' to WHNF, so that the thunk is allocated and forced at
-- initialization time rather than at runtime. Not that we'd lose much by not forcing all
-- 'BuiltinRuntime's here, but why pay even very little if there's an easy way not to pay.
runtime
in runtime
{-# INLINE toBuiltinsRuntime #-}
2 changes: 0 additions & 2 deletions plutus-core/testlib/PlutusIR/Pass/Test.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
module PlutusIR.Pass.Test where

import Control.Monad.Except
import Data.Bifunctor (first)
import Data.Functor (void)
import Data.Typeable
import PlutusCore qualified as PLC
import PlutusCore.Builtin
Expand Down

0 comments on commit 430d7f9

Please sign in to comment.