Skip to content
Merged
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
14 changes: 9 additions & 5 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -8098,7 +8098,8 @@ static int find_line_num(JSContext *ctx, JSFunctionBytecode *b,
uint32_t pc_value, int *col)
{
const uint8_t *p_end, *p;
int new_line_num, new_col_num, line_num, col_num, pc, v, ret;
int new_line_num, new_col_num, line_num, col_num, pc, ret;
int32_t v;
unsigned int op;

*col = 1;
Expand Down Expand Up @@ -46690,7 +46691,8 @@ static JSValue js_parseInt(JSContext *ctx, JSValueConst this_val,
int argc, JSValueConst *argv)
{
const char *str, *p;
int radix, flags;
int flags;
int32_t radix;
JSValue ret;

str = JS_ToCString(ctx, argv[0]);
Expand Down Expand Up @@ -56097,7 +56099,7 @@ static __exception int remainingElementsCount_add(JSContext *ctx,
int addend)
{
JSValue val;
int remainingElementsCount;
int32_t remainingElementsCount;

val = JS_GetPropertyUint32(ctx, resolve_element_env, 0);
if (JS_IsException(val))
Expand Down Expand Up @@ -56128,7 +56130,8 @@ static JSValue js_promise_all_resolve_element(JSContext *ctx,
JSValueConst resolve = func_data[3];
JSValueConst resolve_element_env = func_data[4];
JSValue ret, obj;
int is_zero, index;
int is_zero;
int32_t index;

if (JS_ToInt32(ctx, &index, func_data[1]))
return JS_EXCEPTION;
Expand Down Expand Up @@ -62710,7 +62713,8 @@ static JSValue js_atomics_notify(JSContext *ctx,
{
struct list_head *el, *el1, waiter_list;
int size_log2;
int32_t count, n;
int count;
int32_t n;
void *ptr;
uint64_t idx;
JSObject *p;
Expand Down
Loading