@@ -10,8 +10,6 @@
11#include <stdint.h>
11#include <stdint.h>
13−#include <emmintrin.h>
15#include "idris_heap.h"
13#include "idris_heap.h"
16#include "idris_stats.h"
14#include "idris_stats.h"
@@ -41,14 +39,6 @@ typedef struct {
41 size_t offset;
39 size_t offset;
42} StrOffset;
40} StrOffset;
45− // If we ever have multithreaded access to the same heap,
46− // fill is mutable so needs synchronization!
49− unsigned char store[];
52// A foreign pointer, managed by the idris GC
42// A foreign pointer, managed by the idris GC
53typedef struct {
43typedef struct {
54 size_t size;
44 size_t size;
@@ -73,8 +63,6 @@ typedef struct Closure {
73 uint16_t bits16;
63 uint16_t bits16;
74 uint32_t bits32;
64 uint32_t bits32;
75 uint64_t bits64;
65 uint64_t bits64;
78 ManagedPtr* mptr;
66 ManagedPtr* mptr;
79 size_t size;
67 size_t size;
@@ -316,27 +304,6 @@ VAL idris_strCons(VM* vm, VAL x, VAL xs);
316VAL idris_strIndex(VM* vm, VAL str, VAL i);
304VAL idris_strIndex(VM* vm, VAL str, VAL i);
317VAL idris_strRev(VM* vm, VAL str);
305VAL idris_strRev(VM* vm, VAL str);
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);
340// system infox
307// system infox
341// used indices:
308// used indices:
342// 0 returns backend
309// 0 returns backend