mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-23 08:27:24 +03:00
macaw-x86-symbolic: Remove unused FloatInfoFromSSEType definition
GHC 9.0 uncovered this type family as being unused. (See https://gitlab.haskell.org/ghc/ghc/-/issues/18470, which made `-Wunused-top-binds` more clever about detecting unused, closed type families like `FloatInfoFromSSEType`.) Let's remove it to avoid an `-Wunused-top-binds` warning.
This commit is contained in:
parent
2f2ba118bd
commit
7819377d84
@ -889,10 +889,6 @@ toValBV ::
|
|||||||
IO (RegValue sym (BVType w))
|
IO (RegValue sym (BVType w))
|
||||||
toValBV sym (AtomWrapper x) = projectLLVM_bv sym (regValue x)
|
toValBV sym (AtomWrapper x) = projectLLVM_bv sym (regValue x)
|
||||||
|
|
||||||
type family FloatInfoFromSSEType (tp :: M.Type) :: FloatInfo where
|
|
||||||
FloatInfoFromSSEType (M.BVType 32) = SingleFloat
|
|
||||||
FloatInfoFromSSEType (M.BVType 64) = DoubleFloat
|
|
||||||
|
|
||||||
floatInfoFromSSEType
|
floatInfoFromSSEType
|
||||||
:: M.SSE_FloatType tp -> FloatInfoRepr (ToCrucibleFloatInfo tp)
|
:: M.SSE_FloatType tp -> FloatInfoRepr (ToCrucibleFloatInfo tp)
|
||||||
floatInfoFromSSEType = \case
|
floatInfoFromSSEType = \case
|
||||||
|
Loading…
Reference in New Issue
Block a user