quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

commit c3875b6fae8de4bcab6e6063de92986f25e4dad8
parent a33ccb85c9be0995a6f21ce0205d4d70e25855f5
Author: Charlie Gordon <github@chqrlie.org>
Date:   Tue, 13 Feb 2024 09:45:58 +0100

Reverse e140122202cc24728b394f8f90fa2f4a2d7c397e

- remove temporary fix for MemorySanitizer:
  setting p->u.array.count to 0 silenced a warning in JS_GetPropertyValue on a
  hacky test agains the length of fast_array object.
  This hack was removed by commit c3635861f63931255c7a953bccbb0e2e90cc75aa.

Diffstat:
Mquickjs/quickjs.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/quickjs/quickjs.c b/quickjs/quickjs.c @@ -14789,8 +14789,6 @@ static JSValue js_build_mapped_arguments(JSContext *ctx, int argc, if (JS_IsException(val)) return val; p = JS_VALUE_GET_OBJ(val); - p->u.array.u.values = NULL; - p->u.array.count = 0; /* add the length field (cannot fail) */ pr = add_property(ctx, p, JS_ATOM_length,