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
10 changes: 5 additions & 5 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -5561,7 +5561,7 @@ static void mark_children(JSRuntime *rt, JSGCObjectHeader *gp,
{
JSShape **shape, *(*shapes)[IC_CACHE_ITEM_CAPACITY];
JSFunctionBytecode *b = (JSFunctionBytecode *)gp;
int i, j;
int i;
for(i = 0; i < b->cpool_count; i++) {
JS_MarkValue(rt, b->cpool[i], mark_func);
}
Expand Down Expand Up @@ -36210,7 +36210,7 @@ static const JSCFunctionListEntry js_error_proto_funcs[] = {

static JSValue js_error_get_stackTraceLimit(JSContext *ctx, JSValue this_val)
{
JSValue val, ret;
JSValue val;

val = JS_ToObject(ctx, this_val);
if (JS_IsException(val))
Expand All @@ -36232,7 +36232,7 @@ static JSValue js_error_set_stackTraceLimit(JSContext *ctx, JSValue this_val, JS

static JSValue js_error_get_prepareStackTrace(JSContext *ctx, JSValue this_val)
{
JSValue val, ret;
JSValue val;

val = JS_ToObject(ctx, this_val);
if (JS_IsException(val))
Expand Down Expand Up @@ -48764,7 +48764,7 @@ static JSValue js_typed_array_at(JSContext *ctx, JSValue this_val,
static JSValue js_typed_array_with(JSContext *ctx, JSValue this_val,
int argc, JSValue *argv)
{
JSValue arr, val, ret;
JSValue arr, val;
JSObject *p;
int64_t idx, len;

Expand Down Expand Up @@ -51645,7 +51645,7 @@ int resize_ic_hash(JSContext *ctx, JSInlineCache *ic)

int free_ic(JSRuntime* rt, JSInlineCache *ic)
{
uint32_t i, j;
uint32_t i;
JSInlineCacheHashSlot *ch, *ch_next;
JSShape **shape, *(*shapes)[IC_CACHE_ITEM_CAPACITY];
if (ic->cache) {
Expand Down