Skip to content

Commit f85bf40

Browse files
Fix macos tests by reducing heap size
1 parent a47cafa commit f85bf40

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/runtime.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define MEGABYTE 1024l*KILOBYTE
3939
#define GIGABYTE 1024l*MEGABYTE
4040
#define TERABYTE 1024l*GIGABYTE
41-
#define ALLOC_SIZE TERABYTE
41+
#define ALLOC_SIZE 100l*GIGABYTE
4242
#define ALLOC_START (void*)(42l * TERABYTE)
4343

4444
#ifdef GCTEST
@@ -2206,12 +2206,7 @@ static TABLE ___table (BLOCK expr)
22062206

22072207
static TABLE ___insert(ANY key, ANY value, TABLE d)
22082208
{
2209-
<<<<<<< HEAD
22102209
if unlikely(key.type == io || key.type == block || key.type == box) throw_error_fmt("Can't index a table with %s", ___show(key));
2211-
TABLE D = gc_malloc(sizeof *D);
2212-
=======
2213-
if unlikely(key.type == block || key.type == box) throw_error_fmt("Can't index a table with %s", ___show(key));
2214-
>>>>>>> 9d5f658 (More work towards generational gc)
22152210
if (!d)
22162211
{
22172212
TABLE D = gc_malloc(sizeof *D);

0 commit comments

Comments
 (0)