on master help sign in
Remove some leftovers from the rts
1a6f20fMarkus Pfeiffer
rts/idris_rts.h−10
@@ -41,14 +41,6 @@ typedef struct {
41 size_t offset;
41 size_t offset;
42} StrOffset;
42} StrOffset;
43
43
44−typedef struct {
45− // If we ever have multithreaded access to the same heap,
46− // fill is mutable so needs synchronization!
47− size_t fill;
48− size_t cap;
49− unsigned char store[];
50−} Buffer;
51−
52// A foreign pointer, managed by the idris GC
44// A foreign pointer, managed by the idris GC
53typedef struct {
45typedef struct {
54 size_t size;
46 size_t size;
@@ -73,8 +65,6 @@ typedef struct Closure {
73 uint16_t bits16;
65 uint16_t bits16;
74 uint32_t bits32;
66 uint32_t bits32;
75 uint64_t bits64;
67 uint64_t bits64;
76− __m128i* bits128p;
77− Buffer* buf;
78 ManagedPtr* mptr;
68 ManagedPtr* mptr;
79 size_t size;
69 size_t size;
80 } info;
70 } info;
src/Idris/ParseExpr.hs−1
@@ -1180,7 +1180,6 @@ Constant ::=
1180 | 'String'
1180 | 'String'
1181 | 'Ptr'
1181 | 'Ptr'
1182 | 'ManagedPtr'
1182 | 'ManagedPtr'
1183− | 'prim__UnsafeBuffer'
1184 | 'Bits8'
1183 | 'Bits8'
1185 | 'Bits16'
1184 | 'Bits16'
1186 | 'Bits32'
1185 | 'Bits32'