packages feed

dhscanner-bitcode 1.0.6 → 1.0.7

raw patch · 3 files changed

+15/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Bitcode: LoadImmNull :: NullContent -> InstructionContent
+ Bitcode: NullContent :: TmpVariable -> ConstNull -> NullContent
+ Bitcode: [loadImmNullOutput] :: NullContent -> TmpVariable
+ Bitcode: [loadImmNullValue] :: NullContent -> ConstNull
+ Bitcode: data NullContent
+ Bitcode: instance Data.Aeson.Types.FromJSON.FromJSON Bitcode.NullContent
+ Bitcode: instance Data.Aeson.Types.ToJSON.ToJSON Bitcode.NullContent
+ Bitcode: instance GHC.Classes.Eq Bitcode.NullContent
+ Bitcode: instance GHC.Classes.Ord Bitcode.NullContent
+ Bitcode: instance GHC.Generics.Generic Bitcode.NullContent
+ Bitcode: instance GHC.Show.Show Bitcode.NullContent
+ Fqn: nativeBool :: Fqn
+ Fqn: nativeNull :: Fqn

Files

dhscanner-bitcode.cabal view
@@ -20,7 +20,7 @@     in mind. The commands resemble an abstract RISC-style assembley, motivated by keeping
     later-phases analyses as simple as possible.
 
-version:            1.0.6
+version:            1.0.7
 license:            GPL-3.0-only
 license-file:       LICENSE
 author:             OrenGitHub
src/Bitcode.hs view
@@ -79,6 +79,7 @@    | LoadImmStr StrContent
    | LoadImmInt IntContent
    | LoadImmBool BoolContent
+   | LoadImmNull NullContent
    | ParamDecl ParamDeclContent
    | FieldRead FieldReadContent
    | FieldWrite FieldWriteContent
@@ -241,6 +242,14 @@      {
          loadImmBoolOutput :: TmpVariable,
          loadImmBoolValue :: Token.ConstBool
+     }
+     deriving ( Show, Eq, Generic, ToJSON, FromJSON, Ord )
+
+data NullContent
+   = NullContent
+     {
+         loadImmNullOutput :: TmpVariable,
+         loadImmNullValue :: Token.ConstNull
      }
      deriving ( Show, Eq, Generic, ToJSON, FromJSON, Ord )
 
src/Fqn.hs view
@@ -22,3 +22,8 @@ nativeStr :: Fqn
 nativeStr = Fqn { content = "str" }
 
+nativeBool :: Fqn
+nativeBool = Fqn { content = "bool" }
+
+nativeNull :: Fqn
+nativeNull = Fqn { content = "null" }