Revert "Fix sloppy mode arguments uninitialized value use" (#276)
This reverts commitf8b3a2e93c
. No longer necessary after commit90d8c6bae0
.
This commit is contained in:
parent
79d417a90d
commit
2d1473efbc
1 changed files with 0 additions and 2 deletions
|
@ -13194,8 +13194,6 @@ static JSValue js_build_mapped_arguments(JSContext *ctx, int argc,
|
||||||
if (JS_IsException(val))
|
if (JS_IsException(val))
|
||||||
return val;
|
return val;
|
||||||
p = JS_VALUE_GET_OBJ(val);
|
p = JS_VALUE_GET_OBJ(val);
|
||||||
p->u.array.u.values = NULL;
|
|
||||||
p->u.array.count = 0;
|
|
||||||
|
|
||||||
/* add the length field (cannot fail) */
|
/* add the length field (cannot fail) */
|
||||||
pr = add_property(ctx, p, JS_ATOM_length,
|
pr = add_property(ctx, p, JS_ATOM_length,
|
||||||
|
|
Loading…
Reference in a new issue