@@ -5,7 +5,7 @@
55VAL idris_b8CopyForGC(VM *vm, VAL a) {
66 uint8_t A = a->info.bits8;
77 VAL cl = allocate(sizeof(Closure), 1);
8− SETTY(cl, BITS8);
8+ SETTY(cl, CT_BITS8);
99 cl->info.bits8 = A;
1010 return cl;
1111}
@@ -13,7 +13,7 @@ VAL idris_b8CopyForGC(VM *vm, VAL a) {
1313VAL idris_b16CopyForGC(VM *vm, VAL a) {
1414 uint16_t A = a->info.bits16;
1515 VAL cl = allocate(sizeof(Closure), 1);
16− SETTY(cl, BITS16);
16+ SETTY(cl, CT_BITS16);
1717 cl->info.bits16 = A;
1818 return cl;
1919}
@@ -21,7 +21,7 @@ VAL idris_b16CopyForGC(VM *vm, VAL a) {
2121VAL idris_b32CopyForGC(VM *vm, VAL a) {
2222 uint32_t A = a->info.bits32;
2323 VAL cl = allocate(sizeof(Closure), 1);
24− SETTY(cl, BITS32);
24+ SETTY(cl, CT_BITS32);
2525 cl->info.bits32 = A;
2626 return cl;
2727}
@@ -29,7 +29,7 @@ VAL idris_b32CopyForGC(VM *vm, VAL a) {
2929VAL idris_b64CopyForGC(VM *vm, VAL a) {
3030 uint64_t A = a->info.bits64;
3131 VAL cl = allocate(sizeof(Closure), 1);
32− SETTY(cl, BITS64);
32+ SETTY(cl, CT_BITS64);
3333 cl->info.bits64 = A;
3434 return cl;
3535}
@@ -37,7 +37,7 @@ VAL idris_b64CopyForGC(VM *vm, VAL a) {
3737VAL idris_b8(VM *vm, VAL a) {
3838 uint8_t A = GETINT(a);
3939 VAL cl = allocate(sizeof(Closure), 0);
40− SETTY(cl, BITS8);
40+ SETTY(cl, CT_BITS8);
4141 cl->info.bits8 = (uint8_t) A;
4242 return cl;
4343}
@@ -45,7 +45,7 @@ VAL idris_b8(VM *vm, VAL a) {
4545VAL idris_b16(VM *vm, VAL a) {
4646 uint16_t A = GETINT(a);
4747 VAL cl = allocate(sizeof(Closure), 0);
48− SETTY(cl, BITS16);
48+ SETTY(cl, CT_BITS16);
4949 cl->info.bits16 = (uint16_t) A;
5050 return cl;
5151}
@@ -53,7 +53,7 @@ VAL idris_b16(VM *vm, VAL a) {
5353VAL idris_b32(VM *vm, VAL a) {
5454 uint32_t A = GETINT(a);
5555 VAL cl = allocate(sizeof(Closure), 0);
56− SETTY(cl, BITS32);
56+ SETTY(cl, CT_BITS32);
5757 cl->info.bits32 = (uint32_t) A;
5858 return cl;
5959}
@@ -61,7 +61,7 @@ VAL idris_b32(VM *vm, VAL a) {
6161VAL idris_b64(VM *vm, VAL a) {
6262 uint64_t A = GETINT(a);
6363 VAL cl = allocate(sizeof(Closure), 0);
64− SETTY(cl, BITS64);
64+ SETTY(cl, CT_BITS64);
6565 cl->info.bits64 = (uint64_t) A;
6666 return cl;
6767}
@@ -72,28 +72,28 @@ VAL idris_castB32Int(VM *vm, VAL a) {
7272
7373VAL idris_b8const(VM *vm, uint8_t a) {
7474 VAL cl = allocate(sizeof(Closure), 0);
75− SETTY(cl, BITS8);
75+ SETTY(cl, CT_BITS8);
7676 cl->info.bits8 = a;
7777 return cl;
7878}
7979
8080VAL idris_b16const(VM *vm, uint16_t a) {
8181 VAL cl = allocate(sizeof(Closure), 0);
82− SETTY(cl, BITS16);
82+ SETTY(cl, CT_BITS16);
8383 cl->info.bits16 = a;
8484 return cl;
8585}
8686
8787VAL idris_b32const(VM *vm, uint32_t a) {
8888 VAL cl = allocate(sizeof(Closure), 0);
89− SETTY(cl, BITS32);
89+ SETTY(cl, CT_BITS32);
9090 cl->info.bits32 = a;
9191 return cl;
9292}
9393
9494VAL idris_b64const(VM *vm, uint64_t a) {
9595 VAL cl = allocate(sizeof(Closure), 0);
96− SETTY(cl, BITS64);
96+ SETTY(cl, CT_BITS64);
9797 cl->info.bits64 = a;
9898 return cl;
9999}
@@ -102,7 +102,7 @@ VAL idris_b8Plus(VM *vm, VAL a, VAL b) {
102102 uint8_t A = a->info.bits8;
103103 uint8_t B = b->info.bits8;
104104 VAL cl = allocate(sizeof(Closure), 0);
105− SETTY(cl, BITS8);
105+ SETTY(cl, CT_BITS8);
106106 cl->info.bits8 = A + B;
107107 return cl;
108108}
@@ -111,7 +111,7 @@ VAL idris_b8Minus(VM *vm, VAL a, VAL b) {
111111 uint8_t A = a->info.bits8;
112112 uint8_t B = b->info.bits8;
113113 VAL cl = allocate(sizeof(Closure), 0);
114− SETTY(cl, BITS8);
114+ SETTY(cl, CT_BITS8);
115115 cl->info.bits8 = A - B;
116116 return cl;
117117}
@@ -120,7 +120,7 @@ VAL idris_b8Times(VM *vm, VAL a, VAL b) {
120120 uint8_t A = a->info.bits8;
121121 uint8_t B = b->info.bits8;
122122 VAL cl = allocate(sizeof(Closure), 0);
123− SETTY(cl, BITS8);
123+ SETTY(cl, CT_BITS8);
124124 cl->info.bits8 = A * B;
125125 return cl;
126126}
@@ -129,7 +129,7 @@ VAL idris_b8UDiv(VM *vm, VAL a, VAL b) {
129129 uint8_t A = a->info.bits8;
130130 uint8_t B = b->info.bits8;
131131 VAL cl = allocate(sizeof(Closure), 0);
132− SETTY(cl, BITS8);
132+ SETTY(cl, CT_BITS8);
133133 cl->info.bits8 = A / B;
134134 return cl;
135135}
@@ -138,7 +138,7 @@ VAL idris_b8SDiv(VM *vm, VAL a, VAL b) {
138138 uint8_t A = a->info.bits8;
139139 uint8_t B = b->info.bits8;
140140 VAL cl = allocate(sizeof(Closure), 0);
141− SETTY(cl, BITS8);
141+ SETTY(cl, CT_BITS8);
142142 cl->info.bits8 = (uint8_t) (((int8_t) A) / ((int8_t) B));
143143 return cl;
144144}
@@ -147,7 +147,7 @@ VAL idris_b8URem(VM *vm, VAL a, VAL b) {
147147 uint8_t A = a->info.bits8;
148148 uint8_t B = b->info.bits8;
149149 VAL cl = allocate(sizeof(Closure), 0);
150− SETTY(cl, BITS8);
150+ SETTY(cl, CT_BITS8);
151151 cl->info.bits8 = A % B;
152152 return cl;
153153}
@@ -156,7 +156,7 @@ VAL idris_b8SRem(VM *vm, VAL a, VAL b) {
156156 uint8_t A = a->info.bits8;
157157 uint8_t B = b->info.bits8;
158158 VAL cl = allocate(sizeof(Closure), 0);
159− SETTY(cl, BITS8);
159+ SETTY(cl, CT_BITS8);
160160 cl->info.bits8 = (uint8_t) (((int8_t) A) % ((int8_t) B));
161161 return cl;
162162}
@@ -184,7 +184,7 @@ VAL idris_b8Gte(VM *vm, VAL a, VAL b) {
184184VAL idris_b8Compl(VM *vm, VAL a) {
185185 uint8_t A = a->info.bits8;
186186 VAL cl = allocate(sizeof(Closure), 0);
187− SETTY(cl, BITS8);
187+ SETTY(cl, CT_BITS8);
188188 cl->info.bits8 = ~ A;
189189 return cl;
190190}
@@ -193,7 +193,7 @@ VAL idris_b8And(VM *vm, VAL a, VAL b) {
193193 uint8_t A = a->info.bits8;
194194 uint8_t B = b->info.bits8;
195195 VAL cl = allocate(sizeof(Closure), 0);
196− SETTY(cl, BITS8);
196+ SETTY(cl, CT_BITS8);
197197 cl->info.bits8 = A & B;
198198 return cl;
199199}
@@ -202,7 +202,7 @@ VAL idris_b8Or(VM *vm, VAL a, VAL b) {
202202 uint8_t A = a->info.bits8;
203203 uint8_t B = b->info.bits8;
204204 VAL cl = allocate(sizeof(Closure), 0);
205− SETTY(cl, BITS8);
205+ SETTY(cl, CT_BITS8);
206206 cl->info.bits8 = A | B;
207207 return cl;
208208}
@@ -211,7 +211,7 @@ VAL idris_b8Xor(VM *vm, VAL a, VAL b) {
211211 uint8_t A = a->info.bits8;
212212 uint8_t B = b->info.bits8;
213213 VAL cl = allocate(sizeof(Closure), 0);
214− SETTY(cl, BITS8);
214+ SETTY(cl, CT_BITS8);
215215 cl->info.bits8 = A ^ B;
216216 return cl;
217217}
@@ -220,7 +220,7 @@ VAL idris_b8Shl(VM *vm, VAL a, VAL b) {
220220 uint8_t A = a->info.bits8;
221221 uint8_t B = b->info.bits8;
222222 VAL cl = allocate(sizeof(Closure), 0);
223− SETTY(cl, BITS8);
223+ SETTY(cl, CT_BITS8);
224224 cl->info.bits8 = A << B;
225225 return cl;
226226}
@@ -229,7 +229,7 @@ VAL idris_b8LShr(VM *vm, VAL a, VAL b) {
229229 uint8_t A = a->info.bits8;
230230 uint8_t B = b->info.bits8;
231231 VAL cl = allocate(sizeof(Closure), 0);
232− SETTY(cl, BITS8);
232+ SETTY(cl, CT_BITS8);
233233 cl->info.bits8 = A >> B;
234234 return cl;
235235}
@@ -238,7 +238,7 @@ VAL idris_b8AShr(VM *vm, VAL a, VAL b) {
238238 uint8_t A = a->info.bits8;
239239 uint8_t B = b->info.bits8;
240240 VAL cl = allocate(sizeof(Closure), 0);
241− SETTY(cl, BITS8);
241+ SETTY(cl, CT_BITS8);
242242 cl->info.bits8 = (uint8_t) (((int8_t) A) >> ((int8_t) B));
243243 return cl;
244244}
@@ -247,7 +247,7 @@ VAL idris_b16Plus(VM *vm, VAL a, VAL b) {
247247 uint16_t A = a->info.bits16;
248248 uint16_t B = b->info.bits16;
249249 VAL cl = allocate(sizeof(Closure), 0);
250− SETTY(cl, BITS16);
250+ SETTY(cl, CT_BITS16);
251251 cl->info.bits16 = A + B;
252252 return cl;
253253}
@@ -256,7 +256,7 @@ VAL idris_b16Minus(VM *vm, VAL a, VAL b) {
256256 uint16_t A = a->info.bits16;
257257 uint16_t B = b->info.bits16;
258258 VAL cl = allocate(sizeof(Closure), 0);
259− SETTY(cl, BITS16);
259+ SETTY(cl, CT_BITS16);
260260 cl->info.bits16 = A - B;
261261 return cl;
262262}
@@ -265,7 +265,7 @@ VAL idris_b16Times(VM *vm, VAL a, VAL b) {
265265 uint16_t A = a->info.bits16;
266266 uint16_t B = b->info.bits16;
267267 VAL cl = allocate(sizeof(Closure), 0);
268− SETTY(cl, BITS16);
268+ SETTY(cl, CT_BITS16);
269269 cl->info.bits16 = A * B;
270270 return cl;
271271}
@@ -274,7 +274,7 @@ VAL idris_b16UDiv(VM *vm, VAL a, VAL b) {
274274 uint16_t A = a->info.bits16;
275275 uint16_t B = b->info.bits16;
276276 VAL cl = allocate(sizeof(Closure), 0);
277− SETTY(cl, BITS16);
277+ SETTY(cl, CT_BITS16);
278278 cl->info.bits16 = A / B;
279279 return cl;
280280}
@@ -283,7 +283,7 @@ VAL idris_b16SDiv(VM *vm, VAL a, VAL b) {
283283 uint16_t A = a->info.bits16;
284284 uint16_t B = b->info.bits16;
285285 VAL cl = allocate(sizeof(Closure), 0);
286− SETTY(cl, BITS16);
286+ SETTY(cl, CT_BITS16);
287287 cl->info.bits16 = (uint16_t) (((int16_t) A) / ((int16_t) B));
288288 return cl;
289289}
@@ -292,7 +292,7 @@ VAL idris_b16URem(VM *vm, VAL a, VAL b) {
292292 uint16_t A = a->info.bits16;
293293 uint16_t B = b->info.bits16;
294294 VAL cl = allocate(sizeof(Closure), 0);
295− SETTY(cl, BITS16);
295+ SETTY(cl, CT_BITS16);
296296 cl->info.bits16 = A % B;
297297 return cl;
298298}
@@ -301,7 +301,7 @@ VAL idris_b16SRem(VM *vm, VAL a, VAL b) {
301301 uint16_t A = a->info.bits16;
302302 uint16_t B = b->info.bits16;
303303 VAL cl = allocate(sizeof(Closure), 0);
304− SETTY(cl, BITS16);
304+ SETTY(cl, CT_BITS16);
305305 cl->info.bits16 = (uint16_t) (((int16_t) A) % ((int16_t) B));
306306 return cl;
307307}
@@ -329,7 +329,7 @@ VAL idris_b16Gte(VM *vm, VAL a, VAL b) {
329329VAL idris_b16Compl(VM *vm, VAL a) {
330330 uint16_t A = a->info.bits16;
331331 VAL cl = allocate(sizeof(Closure), 0);
332− SETTY(cl, BITS16);
332+ SETTY(cl, CT_BITS16);
333333 cl->info.bits16 = ~ A;
334334 return cl;
335335}
@@ -338,7 +338,7 @@ VAL idris_b16And(VM *vm, VAL a, VAL b) {
338338 uint16_t A = a->info.bits16;
339339 uint16_t B = b->info.bits16;
340340 VAL cl = allocate(sizeof(Closure), 0);
341− SETTY(cl, BITS16);
341+ SETTY(cl, CT_BITS16);
342342 cl->info.bits16 = A & B;
343343 return cl;
344344}
@@ -347,7 +347,7 @@ VAL idris_b16Or(VM *vm, VAL a, VAL b) {
347347 uint16_t A = a->info.bits16;
348348 uint16_t B = b->info.bits16;
349349 VAL cl = allocate(sizeof(Closure), 0);
350− SETTY(cl, BITS16);
350+ SETTY(cl, CT_BITS16);
351351 cl->info.bits16 = A | B;
352352 return cl;
353353}
@@ -356,7 +356,7 @@ VAL idris_b16Xor(VM *vm, VAL a, VAL b) {
356356 uint16_t A = a->info.bits16;
357357 uint16_t B = b->info.bits16;
358358 VAL cl = allocate(sizeof(Closure), 0);
359− SETTY(cl, BITS16);
359+ SETTY(cl, CT_BITS16);
360360 cl->info.bits16 = A ^ B;
361361 return cl;
362362}
@@ -365,7 +365,7 @@ VAL idris_b16Shl(VM *vm, VAL a, VAL b) {
365365 uint16_t A = a->info.bits16;
366366 uint16_t B = b->info.bits16;
367367 VAL cl = allocate(sizeof(Closure), 0);
368− SETTY(cl, BITS16);
368+ SETTY(cl, CT_BITS16);
369369 cl->info.bits16 = A << B;
370370 return cl;
371371}
@@ -374,7 +374,7 @@ VAL idris_b16LShr(VM *vm, VAL a, VAL b) {
374374 uint16_t A = a->info.bits16;
375375 uint16_t B = b->info.bits16;
376376 VAL cl = allocate(sizeof(Closure), 0);
377− SETTY(cl, BITS16);
377+ SETTY(cl, CT_BITS16);
378378 cl->info.bits16 = A >> B;
379379 return cl;
380380}
@@ -383,7 +383,7 @@ VAL idris_b16AShr(VM *vm, VAL a, VAL b) {
383383 uint16_t A = a->info.bits16;
384384 uint16_t B = b->info.bits16;
385385 VAL cl = allocate(sizeof(Closure), 0);
386− SETTY(cl, BITS16);
386+ SETTY(cl, CT_BITS16);
387387 cl->info.bits16 = (uint16_t) (((int16_t) A) >> ((int16_t) B));
388388 return cl;
389389}
@@ -392,7 +392,7 @@ VAL idris_b32Plus(VM *vm, VAL a, VAL b) {
392392 uint32_t A = a->info.bits32;
393393 uint32_t B = b->info.bits32;
394394 VAL cl = allocate(sizeof(Closure), 0);
395− SETTY(cl, BITS32);
395+ SETTY(cl, CT_BITS32);
396396 cl->info.bits32 = A + B;
397397 return cl;
398398}
@@ -401,7 +401,7 @@ VAL idris_b32Minus(VM *vm, VAL a, VAL b) {
401401 uint32_t A = a->info.bits32;
402402 uint32_t B = b->info.bits32;
403403 VAL cl = allocate(sizeof(Closure), 0);
404− SETTY(cl, BITS32);
404+ SETTY(cl, CT_BITS32);
405405 cl->info.bits32 = A - B;
406406 return cl;
407407}
@@ -410,7 +410,7 @@ VAL idris_b32Times(VM *vm, VAL a, VAL b) {
410410 uint32_t A = a->info.bits32;
411411 uint32_t B = b->info.bits32;
412412 VAL cl = allocate(sizeof(Closure), 0);
413− SETTY(cl, BITS32);
413+ SETTY(cl, CT_BITS32);
414414 cl->info.bits32 = A * B;
415415 return cl;
416416}
@@ -419,7 +419,7 @@ VAL idris_b32UDiv(VM *vm, VAL a, VAL b) {
419419 uint32_t A = a->info.bits32;
420420 uint32_t B = b->info.bits32;
421421 VAL cl = allocate(sizeof(Closure), 0);
422− SETTY(cl, BITS32);
422+ SETTY(cl, CT_BITS32);
423423 cl->info.bits32 = A / B;
424424 return cl;
425425}
@@ -428,7 +428,7 @@ VAL idris_b32SDiv(VM *vm, VAL a, VAL b) {
428428 uint32_t A = a->info.bits32;
429429 uint32_t B = b->info.bits32;
430430 VAL cl = allocate(sizeof(Closure), 0);
431− SETTY(cl, BITS32);
431+ SETTY(cl, CT_BITS32);
432432 cl->info.bits32 = (uint32_t) (((int32_t) A) / ((int32_t) B));
433433 return cl;
434434}
@@ -437,7 +437,7 @@ VAL idris_b32URem(VM *vm, VAL a, VAL b) {
437437 uint32_t A = a->info.bits32;
438438 uint32_t B = b->info.bits32;
439439 VAL cl = allocate(sizeof(Closure), 0);
440− SETTY(cl, BITS32);
440+ SETTY(cl, CT_BITS32);
441441 cl->info.bits32 = A % B;
442442 return cl;
443443}
@@ -446,7 +446,7 @@ VAL idris_b32SRem(VM *vm, VAL a, VAL b) {
446446 uint32_t A = a->info.bits32;
447447 uint32_t B = b->info.bits32;
448448 VAL cl = allocate(sizeof(Closure), 0);
449− SETTY(cl, BITS32);
449+ SETTY(cl, CT_BITS32);
450450 cl->info.bits32 = (uint32_t) (((int32_t) A) % ((int32_t) B));
451451 return cl;
452452}
@@ -474,7 +474,7 @@ VAL idris_b32Gte(VM *vm, VAL a, VAL b) {
474474VAL idris_b32Compl(VM *vm, VAL a) {
475475 uint32_t A = a->info.bits32;
476476 VAL cl = allocate(sizeof(Closure), 0);
477− SETTY(cl, BITS32);
477+ SETTY(cl, CT_BITS32);
478478 cl->info.bits32 = ~ A;
479479 return cl;
480480}
@@ -483,7 +483,7 @@ VAL idris_b32And(VM *vm, VAL a, VAL b) {
483483 uint32_t A = a->info.bits32;
484484 uint32_t B = b->info.bits32;
485485 VAL cl = allocate(sizeof(Closure), 0);
486− SETTY(cl, BITS32);
486+ SETTY(cl, CT_BITS32);
487487 cl->info.bits32 = A & B;
488488 return cl;
489489}
@@ -492,7 +492,7 @@ VAL idris_b32Or(VM *vm, VAL a, VAL b) {
492492 uint32_t A = a->info.bits32;
493493 uint32_t B = b->info.bits32;
494494 VAL cl = allocate(sizeof(Closure), 0);
495− SETTY(cl, BITS32);
495+ SETTY(cl, CT_BITS32);
496496 cl->info.bits32 = A | B;
497497 return cl;
498498}
@@ -501,7 +501,7 @@ VAL idris_b32Xor(VM *vm, VAL a, VAL b) {
501501 uint32_t A = a->info.bits32;
502502 uint32_t B = b->info.bits32;
503503 VAL cl = allocate(sizeof(Closure), 0);
504− SETTY(cl, BITS32);
504+ SETTY(cl, CT_BITS32);
505505 cl->info.bits32 = A ^ B;
506506 return cl;
507507}
@@ -510,7 +510,7 @@ VAL idris_b32Shl(VM *vm, VAL a, VAL b) {
510510 uint32_t A = a->info.bits32;
511511 uint32_t B = b->info.bits32;
512512 VAL cl = allocate(sizeof(Closure), 0);
513− SETTY(cl, BITS32);
513+ SETTY(cl, CT_BITS32);
514514 cl->info.bits32 = A << B;
515515 return cl;
516516}
@@ -519,7 +519,7 @@ VAL idris_b32LShr(VM *vm, VAL a, VAL b) {
519519 uint32_t A = a->info.bits32;
520520 uint32_t B = b->info.bits32;
521521 VAL cl = allocate(sizeof(Closure), 0);
522− SETTY(cl, BITS32);
522+ SETTY(cl, CT_BITS32);
523523 cl->info.bits32 = A >> B;
524524 return cl;
525525}
@@ -528,7 +528,7 @@ VAL idris_b32AShr(VM *vm, VAL a, VAL b) {
528528 uint32_t A = a->info.bits32;
529529 uint32_t B = b->info.bits32;
530530 VAL cl = allocate(sizeof(Closure), 0);
531− SETTY(cl, BITS32);
531+ SETTY(cl, CT_BITS32);
532532 cl->info.bits32 = (uint32_t) (((int32_t)A) >> ((int32_t)B));
533533 return cl;
534534}
@@ -537,7 +537,7 @@ VAL idris_b64Plus(VM *vm, VAL a, VAL b) {
537537 uint64_t A = a->info.bits64;
538538 uint64_t B = b->info.bits64;
539539 VAL cl = allocate(sizeof(Closure), 0);
540− SETTY(cl, BITS64);
540+ SETTY(cl, CT_BITS64);
541541 cl->info.bits64 = A + B;
542542 return cl;
543543}
@@ -546,7 +546,7 @@ VAL idris_b64Minus(VM *vm, VAL a, VAL b) {
546546 uint64_t A = a->info.bits64;
547547 uint64_t B = b->info.bits64;
548548 VAL cl = allocate(sizeof(Closure), 0);
549− SETTY(cl, BITS64);
549+ SETTY(cl, CT_BITS64);
550550 cl->info.bits64 = A - B;
551551 return cl;
552552}
@@ -555,7 +555,7 @@ VAL idris_b64Times(VM *vm, VAL a, VAL b) {
555555 uint64_t A = a->info.bits64;
556556 uint64_t B = b->info.bits64;
557557 VAL cl = allocate(sizeof(Closure), 0);
558− SETTY(cl, BITS64);
558+ SETTY(cl, CT_BITS64);
559559 cl->info.bits64 = A * B;
560560 return cl;
561561}
@@ -564,7 +564,7 @@ VAL idris_b64UDiv(VM *vm, VAL a, VAL b) {
564564 uint64_t A = a->info.bits64;
565565 uint64_t B = b->info.bits64;
566566 VAL cl = allocate(sizeof(Closure), 0);
567− SETTY(cl, BITS64);
567+ SETTY(cl, CT_BITS64);
568568 cl->info.bits64 = A / B;
569569 return cl;
570570}
@@ -573,7 +573,7 @@ VAL idris_b64SDiv(VM *vm, VAL a, VAL b) {
573573 uint64_t A = a->info.bits64;
574574 uint64_t B = b->info.bits64;
575575 VAL cl = allocate(sizeof(Closure), 0);
576− SETTY(cl, BITS64);
576+ SETTY(cl, CT_BITS64);
577577 cl->info.bits64 = (uint64_t) (((int64_t) A) / ((int64_t) B));
578578 return cl;
579579}
@@ -582,7 +582,7 @@ VAL idris_b64URem(VM *vm, VAL a, VAL b) {
582582 uint64_t A = a->info.bits64;
583583 uint64_t B = b->info.bits64;
584584 VAL cl = allocate(sizeof(Closure), 0);
585− SETTY(cl, BITS64);
585+ SETTY(cl, CT_BITS64);
586586 cl->info.bits64 = A % B;
587587 return cl;
588588}
@@ -591,7 +591,7 @@ VAL idris_b64SRem(VM *vm, VAL a, VAL b) {
591591 uint64_t A = a->info.bits64;
592592 uint64_t B = b->info.bits64;
593593 VAL cl = allocate(sizeof(Closure), 0);
594− SETTY(cl, BITS64);
594+ SETTY(cl, CT_BITS64);
595595 cl->info.bits64 = (uint64_t) (((int64_t) A) % ((int64_t) B));
596596 return cl;
597597}
@@ -619,7 +619,7 @@ VAL idris_b64Gte(VM *vm, VAL a, VAL b) {
619619VAL idris_b64Compl(VM *vm, VAL a) {
620620 uint64_t A = a->info.bits64;
621621 VAL cl = allocate(sizeof(Closure), 0);
622− SETTY(cl, BITS64);
622+ SETTY(cl, CT_BITS64);
623623 cl->info.bits64 = ~ A;
624624 return cl;
625625}
@@ -628,7 +628,7 @@ VAL idris_b64And(VM *vm, VAL a, VAL b) {
628628 uint64_t A = a->info.bits64;
629629 uint64_t B = b->info.bits64;
630630 VAL cl = allocate(sizeof(Closure), 0);
631− SETTY(cl, BITS64);
631+ SETTY(cl, CT_BITS64);
632632 cl->info.bits64 = A & B;
633633 return cl;
634634}
@@ -637,7 +637,7 @@ VAL idris_b64Or(VM *vm, VAL a, VAL b) {
637637 uint64_t A = a->info.bits64;
638638 uint64_t B = b->info.bits64;
639639 VAL cl = allocate(sizeof(Closure), 0);
640− SETTY(cl, BITS64);
640+ SETTY(cl, CT_BITS64);
641641 cl->info.bits64 = A | B;
642642 return cl;
643643}
@@ -646,7 +646,7 @@ VAL idris_b64Xor(VM *vm, VAL a, VAL b) {
646646 uint64_t A = a->info.bits64;
647647 uint64_t B = b->info.bits64;
648648 VAL cl = allocate(sizeof(Closure), 0);
649− SETTY(cl, BITS64);
649+ SETTY(cl, CT_BITS64);
650650 cl->info.bits64 = A ^ B;
651651 return cl;
652652}
@@ -655,7 +655,7 @@ VAL idris_b64Shl(VM *vm, VAL a, VAL b) {
655655 uint64_t A = a->info.bits64;
656656 uint64_t B = b->info.bits64;
657657 VAL cl = allocate(sizeof(Closure), 0);
658− SETTY(cl, BITS64);
658+ SETTY(cl, CT_BITS64);
659659 cl->info.bits64 = A << B;
660660 return cl;
661661}
@@ -664,7 +664,7 @@ VAL idris_b64LShr(VM *vm, VAL a, VAL b) {
664664 uint64_t A = a->info.bits64;
665665 uint64_t B = b->info.bits64;
666666 VAL cl = allocate(sizeof(Closure), 0);
667− SETTY(cl, BITS64);
667+ SETTY(cl, CT_BITS64);
668668 cl->info.bits64 = A >> B;
669669 return cl;
670670}
@@ -673,7 +673,7 @@ VAL idris_b64AShr(VM *vm, VAL a, VAL b) {
673673 uint64_t A = a->info.bits64;
674674 uint64_t B = b->info.bits64;
675675 VAL cl = allocate(sizeof(Closure), 0);
676− SETTY(cl, BITS64);
676+ SETTY(cl, CT_BITS64);
677677 cl->info.bits64 = (uint64_t) (((int64_t) A) >> ((int64_t) B));
678678 return cl;
679679}
@@ -681,7 +681,7 @@ VAL idris_b64AShr(VM *vm, VAL a, VAL b) {
681681VAL idris_b8Z16(VM *vm, VAL a) {
682682 uint8_t A = a->info.bits8;
683683 VAL cl = allocate(sizeof(Closure), 0);
684− SETTY(cl, BITS16);
684+ SETTY(cl, CT_BITS16);
685685 cl->info.bits16 = (uint16_t) A;
686686 return cl;
687687}
@@ -689,7 +689,7 @@ VAL idris_b8Z16(VM *vm, VAL a) {
689689VAL idris_b8Z32(VM *vm, VAL a) {
690690 uint8_t A = a->info.bits8;
691691 VAL cl = allocate(sizeof(Closure), 0);
692− SETTY(cl, BITS32);
692+ SETTY(cl, CT_BITS32);
693693 cl->info.bits32 = (uint32_t) A;
694694 return cl;
695695}
@@ -697,7 +697,7 @@ VAL idris_b8Z32(VM *vm, VAL a) {
697697VAL idris_b8Z64(VM *vm, VAL a) {
698698 uint8_t A = a->info.bits8;
699699 VAL cl = allocate(sizeof(Closure), 0);
700− SETTY(cl, BITS64);
700+ SETTY(cl, CT_BITS64);
701701 cl->info.bits64 = (uint64_t) A;
702702 return cl;
703703}
@@ -705,7 +705,7 @@ VAL idris_b8Z64(VM *vm, VAL a) {
705705VAL idris_b8S16(VM *vm, VAL a) {
706706 uint8_t A = a->info.bits8;
707707 VAL cl = allocate(sizeof(Closure), 0);
708− SETTY(cl, BITS16);
708+ SETTY(cl, CT_BITS16);
709709 cl->info.bits16 = (uint16_t) (int16_t) (int8_t) A;
710710 return cl;
711711}
@@ -713,7 +713,7 @@ VAL idris_b8S16(VM *vm, VAL a) {
713713VAL idris_b8S32(VM *vm, VAL a) {
714714 uint8_t A = a->info.bits8;
715715 VAL cl = allocate(sizeof(Closure), 0);
716− SETTY(cl, BITS32);
716+ SETTY(cl, CT_BITS32);
717717 cl->info.bits32 = (uint32_t) (int32_t) (int8_t) A;
718718 return cl;
719719}
@@ -721,7 +721,7 @@ VAL idris_b8S32(VM *vm, VAL a) {
721721VAL idris_b8S64(VM *vm, VAL a) {
722722 uint8_t A = a->info.bits8;
723723 VAL cl = allocate(sizeof(Closure), 0);
724− SETTY(cl, BITS64);
724+ SETTY(cl, CT_BITS64);
725725 cl->info.bits64 = (uint64_t) (int64_t) (int8_t) A;
726726 return cl;
727727}
@@ -729,7 +729,7 @@ VAL idris_b8S64(VM *vm, VAL a) {
729729VAL idris_b16Z32(VM *vm, VAL a) {
730730 uint16_t A = a->info.bits16;
731731 VAL cl = allocate(sizeof(Closure), 0);
732− SETTY(cl, BITS32);
732+ SETTY(cl, CT_BITS32);
733733 cl->info.bits32 = (uint32_t) A;
734734 return cl;
735735}
@@ -737,7 +737,7 @@ VAL idris_b16Z32(VM *vm, VAL a) {
737737VAL idris_b16Z64(VM *vm, VAL a) {
738738 uint16_t A = a->info.bits16;
739739 VAL cl = allocate(sizeof(Closure), 0);
740− SETTY(cl, BITS64);
740+ SETTY(cl, CT_BITS64);
741741 cl->info.bits64 = (uint64_t) A;
742742 return cl;
743743}
@@ -745,7 +745,7 @@ VAL idris_b16Z64(VM *vm, VAL a) {
745745VAL idris_b16S32(VM *vm, VAL a) {
746746 uint16_t A = a->info.bits16;
747747 VAL cl = allocate(sizeof(Closure), 0);
748− SETTY(cl, BITS32);
748+ SETTY(cl, CT_BITS32);
749749 cl->info.bits32 = (uint32_t) (int32_t) (int16_t) A;
750750 return cl;
751751}
@@ -753,7 +753,7 @@ VAL idris_b16S32(VM *vm, VAL a) {
753753VAL idris_b16S64(VM *vm, VAL a) {
754754 uint16_t A = a->info.bits16;
755755 VAL cl = allocate(sizeof(Closure), 0);
756− SETTY(cl, BITS64);
756+ SETTY(cl, CT_BITS64);
757757 cl->info.bits64 = (uint64_t) (int64_t) (int16_t) A;
758758 return cl;
759759}
@@ -761,7 +761,7 @@ VAL idris_b16S64(VM *vm, VAL a) {
761761VAL idris_b16T8(VM *vm, VAL a) {
762762 uint16_t A = a->info.bits16;
763763 VAL cl = allocate(sizeof(Closure), 0);
764− SETTY(cl, BITS8);
764+ SETTY(cl, CT_BITS8);
765765 cl->info.bits8 = (uint8_t) A;
766766 return cl;
767767}
@@ -769,7 +769,7 @@ VAL idris_b16T8(VM *vm, VAL a) {
769769VAL idris_b32Z64(VM *vm, VAL a) {
770770 uint32_t A = a->info.bits32;
771771 VAL cl = allocate(sizeof(Closure), 0);
772− SETTY(cl, BITS64);
772+ SETTY(cl, CT_BITS64);
773773 cl->info.bits64 = (uint64_t) A;
774774 return cl;
775775}
@@ -777,7 +777,7 @@ VAL idris_b32Z64(VM *vm, VAL a) {
777777VAL idris_b32S64(VM *vm, VAL a) {
778778 uint32_t A = a->info.bits32;
779779 VAL cl = allocate(sizeof(Closure), 0);
780− SETTY(cl, BITS64);
780+ SETTY(cl, CT_BITS64);
781781 cl->info.bits64 = (uint64_t) (int64_t) (int32_t) A;
782782 return cl;
783783}
@@ -785,7 +785,7 @@ VAL idris_b32S64(VM *vm, VAL a) {
785785VAL idris_b32T8(VM *vm, VAL a) {
786786 uint32_t A = a->info.bits32;
787787 VAL cl = allocate(sizeof(Closure), 0);
788− SETTY(cl, BITS8);
788+ SETTY(cl, CT_BITS8);
789789 cl->info.bits8 = (uint8_t) A;
790790 return cl;
791791}
@@ -793,7 +793,7 @@ VAL idris_b32T8(VM *vm, VAL a) {
793793VAL idris_b32T16(VM *vm, VAL a) {
794794 uint32_t A = a->info.bits32;
795795 VAL cl = allocate(sizeof(Closure), 0);
796− SETTY(cl, BITS16);
796+ SETTY(cl, CT_BITS16);
797797 cl->info.bits16 = (uint16_t) A;
798798 return cl;
799799}
@@ -801,7 +801,7 @@ VAL idris_b32T16(VM *vm, VAL a) {
801801VAL idris_b64T8(VM *vm, VAL a) {
802802 uint64_t A = a->info.bits64;
803803 VAL cl = allocate(sizeof(Closure), 0);
804− SETTY(cl, BITS8);
804+ SETTY(cl, CT_BITS8);
805805 cl->info.bits8 = (uint8_t) A;
806806 return cl;
807807}
@@ -809,7 +809,7 @@ VAL idris_b64T8(VM *vm, VAL a) {
809809VAL idris_b64T16(VM *vm, VAL a) {
810810 uint64_t A = a->info.bits64;
811811 VAL cl = allocate(sizeof(Closure), 0);
812− SETTY(cl, BITS16);
812+ SETTY(cl, CT_BITS16);
813813 cl->info.bits16 = (uint16_t) A;
814814 return cl;
815815}
@@ -817,7 +817,7 @@ VAL idris_b64T16(VM *vm, VAL a) {
817817VAL idris_b64T32(VM *vm, VAL a) {
818818 uint64_t A = a->info.bits64;
819819 VAL cl = allocate(sizeof(Closure), 0);
820− SETTY(cl, BITS32);
820+ SETTY(cl, CT_BITS32);
821821 cl->info.bits32 = (uint32_t) A;
822822 return cl;
823823}