@@ -524,7 +524,6 @@ instance Pretty NativeTy OutputAnnotation where
524524 pretty IT64 = text "Bits64"
525525
526526data IntTy = ITFixed NativeTy | ITNative | ITBig | ITChar
527− | ITVec NativeTy Int
528527 deriving (Show, Eq, Ord, Data, Typeable)
529528
530529intTyName :: IntTy -> String
@@ -532,7 +531,6 @@ intTyName ITNative = "Int"
532531intTyName ITBig = "BigInt"
533532intTyName (ITFixed sized) = "B" ++ show (nativeTyWidth sized)
534533intTyName (ITChar) = "Char"
535−intTyName (ITVec ity count) = "B" ++ show (nativeTyWidth ity) ++ "x" ++ show count
536534
537535data ArithTy = ATInt IntTy | ATFloat -- TODO: Float vectors https://github.com/idris-lang/Idris-dev/issues/1723
538536 deriving (Show, Eq, Ord, Data, Typeable)
@@ -547,7 +545,6 @@ instance Pretty ArithTy OutputAnnotation where
547545 pretty (ATInt ITBig) = text "BigInt"
548546 pretty (ATInt ITChar) = text "Char"
549547 pretty (ATInt (ITFixed n)) = pretty n
550− pretty (ATInt (ITVec e c)) = pretty e <> text "x" <> (text . show $ c)
551548 pretty ATFloat = text "Float"
552549
553550nativeTyWidth :: NativeTy -> Int
@@ -567,7 +564,7 @@ data Const = I Int | BI Integer | Fl Double | Ch Char | Str String
567564 | B8 Word8 | B16 Word16 | B32 Word32 | B64 Word64
568565 | AType ArithTy | StrType
569566 | WorldType | TheWorld
570− | PtrType | ManagedPtrType | VoidType | Forgot
567+ | VoidType | Forgot
571568 deriving (Eq, Ord, Data, Typeable)
572569{-!
573570deriving instance Binary Const
@@ -577,9 +574,7 @@ deriving instance NFData Const
577574isTypeConst :: Const -> Bool
578575isTypeConst (AType _) = True
579576isTypeConst StrType = True
580−isTypeConst ManagedPtrType = True
581577isTypeConst WorldType = True
582−isTypeConst PtrType = True
583578isTypeConst VoidType = True
584579isTypeConst _ = False
585580
@@ -596,8 +591,6 @@ instance Pretty Const OutputAnnotation where
596591 pretty StrType = text "String"
597592 pretty TheWorld = text "%theWorld"
598593 pretty WorldType = text "prim__World"
599− pretty PtrType = text "Ptr"
600− pretty ManagedPtrType = text "Ptr"
601594 pretty VoidType = text "Void"
602595 pretty Forgot = text "Forgot"
603596 pretty (B8 w) = text . show $ w
@@ -625,16 +618,10 @@ constDocs c@(AType (ATInt ITNative)) = "Fixed-precision integers of undefi
625618constDocs c@(AType (ATInt ITChar)) = "Characters in some unspecified encoding"
626619constDocs c@(AType ATFloat) = "Double-precision floating-point numbers"
627620constDocs StrType = "Strings in some unspecified encoding"
628−constDocs PtrType = "Foreign pointers"
629−constDocs ManagedPtrType = "Managed pointers"
630621constDocs c@(AType (ATInt (ITFixed IT8))) = "Eight bits (unsigned)"
631622constDocs c@(AType (ATInt (ITFixed IT16))) = "Sixteen bits (unsigned)"
632623constDocs c@(AType (ATInt (ITFixed IT32))) = "Thirty-two bits (unsigned)"
633624constDocs c@(AType (ATInt (ITFixed IT64))) = "Sixty-four bits (unsigned)"
634−constDocs c@(AType (ATInt (ITVec IT8 16))) = "Vectors of sixteen eight-bit values"
635−constDocs c@(AType (ATInt (ITVec IT16 8))) = "Vectors of eight sixteen-bit values"
636−constDocs c@(AType (ATInt (ITVec IT32 4))) = "Vectors of four thirty-two-bit values"
637−constDocs c@(AType (ATInt (ITVec IT64 2))) = "Vectors of two sixty-four-bit values"
638625constDocs (Fl f) = "A float"
639626constDocs (I i) = "A fixed-precision integer"
640627constDocs (BI i) = "An arbitrary-precision integer"
@@ -1295,12 +1282,9 @@ instance Show Const where
12951282 show (AType (ATInt ITNative)) = "Int"
12961283 show (AType (ATInt ITChar)) = "Char"
12971284 show (AType (ATInt (ITFixed it))) = itBitsName it
1298− show (AType (ATInt (ITVec it c))) = itBitsName it ++ "x" ++ show c
12991285 show TheWorld = "prim__TheWorld"
13001286 show WorldType = "prim__WorldType"
13011287 show StrType = "String"
1302− show PtrType = "Ptr"
1303− show ManagedPtrType = "ManagedPtr"
13041288 show VoidType = "Void"
13051289
13061290showEnv :: (Eq n, Show n) => EnvTT n -> TT n -> String