@@ -10,8 +10,6 @@
1010#endif
1111#include <stdint.h>
1212
13−#include <emmintrin.h>
14−
1513#include "idris_heap.h"
1614#include "idris_stats.h"
1715
@@ -41,14 +39,6 @@ typedef struct {
4139 size_t offset;
4240} StrOffset;
4341
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−
5242// A foreign pointer, managed by the idris GC
5343typedef struct {
5444 size_t size;
@@ -73,8 +63,6 @@ typedef struct Closure {
7363 uint16_t bits16;
7464 uint32_t bits32;
7565 uint64_t bits64;
76− __m128i* bits128p;
77− Buffer* buf;
7866 ManagedPtr* mptr;
7967 size_t size;
8068 } info;
@@ -316,27 +304,6 @@ VAL idris_strCons(VM* vm, VAL x, VAL xs);
316304VAL idris_strIndex(VM* vm, VAL str, VAL i);
317305VAL idris_strRev(VM* vm, VAL str);
318306
319−VAL idris_appendB8Native(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
320−VAL idris_appendB16Native(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
321−VAL idris_appendB16LE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
322−VAL idris_appendB16BE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
323−VAL idris_appendB32Native(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
324−VAL idris_appendB32LE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
325−VAL idris_appendB32BE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
326−VAL idris_appendB64Native(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
327−VAL idris_appendB64LE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
328−VAL idris_appendB64BE(VM* vm, VAL buf, VAL len, VAL cnt, VAL val);
329−VAL idris_peekB8Native(VM* vm, VAL buf, VAL off);
330−VAL idris_peekB16Native(VM* vm, VAL buf, VAL off);
331−VAL idris_peekB16LE(VM* vm, VAL buf, VAL off);
332−VAL idris_peekB16BE(VM* vm, VAL buf, VAL off);
333−VAL idris_peekB32Native(VM* vm, VAL buf, VAL off);
334−VAL idris_peekB32LE(VM* vm, VAL buf, VAL off);
335−VAL idris_peekB32BE(VM* vm, VAL buf, VAL off);
336−VAL idris_peekB64Native(VM* vm, VAL buf, VAL off);
337−VAL idris_peekB64LE(VM* vm, VAL buf, VAL off);
338−VAL idris_peekB64BE(VM* vm, VAL buf, VAL off);
339−
340307// system infox
341308// used indices:
342309// 0 returns backend