quickjs-tart

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

commit 907c48f5c97ba0e6af582ea1fb3d7f6f4927feeb
parent 9ce42638fd2a5e70b2eb38a0f52caebb1c6aa97d
Author: Florian Dold <florian@dold.me>
Date:   Wed, 21 Dec 2022 15:37:49 +0100

disable perf trampoline

Diffstat:
Mquickjs.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/quickjs.c b/quickjs.c @@ -109,7 +109,8 @@ /* test the GC by forcing it before each object allocation */ //#define FORCE_GC_AT_MALLOC -#define PERF_TRAMPOLINE 1 +/* use function call trampolines for better output in profiling tools */ +//#define PERF_TRAMPOLINE #ifdef CONFIG_ATOMICS #include <pthread.h> @@ -18712,7 +18713,7 @@ static JSValue __JS_CallInternal(JSContext *caller_ctx, JSValueConst func_obj, return ret_val; } -#if PERF_TRAMPOLINE +#ifdef PERF_TRAMPOLINE #include <sys/mman.h> #include <fcntl.h>