mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-27 05:38:45 +03:00
Compare commits
4 Commits
91aa0b3ccf
...
92066ed383
Author | SHA1 | Date | |
---|---|---|---|
|
92066ed383 | ||
|
de4d3927b8 | ||
|
dc7af0ac42 | ||
|
9796ab9b00 |
@ -1303,7 +1303,7 @@ static const JSClassExoticMethods js_arguments_exotic_methods;
|
|||||||
static const JSClassExoticMethods js_string_exotic_methods;
|
static const JSClassExoticMethods js_string_exotic_methods;
|
||||||
static const JSClassExoticMethods js_proxy_exotic_methods;
|
static const JSClassExoticMethods js_proxy_exotic_methods;
|
||||||
static const JSClassExoticMethods js_module_ns_exotic_methods;
|
static const JSClassExoticMethods js_module_ns_exotic_methods;
|
||||||
static JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT;
|
static _Thread_local JSClassID js_class_id_alloc = JS_CLASS_INIT_COUNT;
|
||||||
|
|
||||||
static void js_trigger_gc(JSRuntime *rt, size_t size)
|
static void js_trigger_gc(JSRuntime *rt, size_t size)
|
||||||
{
|
{
|
||||||
@ -40802,8 +40802,10 @@ done:
|
|||||||
goto exception;
|
goto exception;
|
||||||
args[0] = ret;
|
args[0] = ret;
|
||||||
res = JS_Invoke(ctx, arr, JS_ATOM_set, 1, args);
|
res = JS_Invoke(ctx, arr, JS_ATOM_set, 1, args);
|
||||||
if (check_exception_free(ctx, res))
|
if (check_exception_free(ctx, res)) {
|
||||||
|
JS_FreeValue(ctx, arr);
|
||||||
goto exception;
|
goto exception;
|
||||||
|
}
|
||||||
JS_FreeValue(ctx, ret);
|
JS_FreeValue(ctx, ret);
|
||||||
ret = arr;
|
ret = arr;
|
||||||
}
|
}
|
||||||
|
@ -174,7 +174,7 @@ cp Makefile VERSION TODO Changelog readme.txt LICENSE \
|
|||||||
|
|
||||||
cp tests/*.js tests/*.patch tests/bjson.c $outdir/tests
|
cp tests/*.js tests/*.patch tests/bjson.c $outdir/tests
|
||||||
|
|
||||||
cp examples/*.js examples/*.c $outdir/examples
|
cp examples/*.js examples/*.c examples/*.json $outdir/examples
|
||||||
|
|
||||||
cp doc/quickjs.texi doc/quickjs.pdf doc/quickjs.html \
|
cp doc/quickjs.texi doc/quickjs.pdf doc/quickjs.html \
|
||||||
$outdir/doc
|
$outdir/doc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user