Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libbf.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <stddef.h>
#include <stdint.h>

#if INTPTR_MAX >= INT64_MAX && !defined(_WIN32)
#if INTPTR_MAX >= INT64_MAX && !defined(_WIN32) && !defined(__TINYC__)
#define LIMB_LOG2_BITS 6
#else
#define LIMB_LOG2_BITS 5
Expand Down
1 change: 1 addition & 0 deletions qjsc.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ static int js_module_dummy_init(JSContext *ctx, JSModuleDef *m)
{
/* should never be called when compiling JS code */
abort();
return -1; // pacify compiler
}

static void find_unique_cname(char *cname, size_t cname_size)
Expand Down
3 changes: 3 additions & 0 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -2615,6 +2615,7 @@ static JSAtomKindEnum JS_AtomGetKind(JSContext *ctx, JSAtom v)
default:
abort();
}
return (JSAtomKindEnum){-1}; // pacify compiler
}

static BOOL JS_AtomIsString(JSContext *ctx, JSAtom v)
Expand Down Expand Up @@ -44106,6 +44107,7 @@ static JSWeakRefRecord **get_first_weak_ref(JSValueConst key)
default:
abort();
}
return NULL; // pacify compiler
}

static JSMapRecord *map_add_record(JSContext *ctx, JSMapState *s,
Expand Down Expand Up @@ -50142,6 +50144,7 @@ static JSValue js_dataview_getValue(JSContext *ctx,
default:
abort();
}
return JS_EXCEPTION; // pacify compiler
}

static JSValue js_dataview_setValue(JSContext *ctx,
Expand Down