Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Dec 16, 2024
1 parent beb1b15 commit ca5505e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1843,9 +1843,9 @@ JSRuntime *JS_NewRuntime2(const JSMallocFunctions *mf, void *opaque)
rt->js_class_id_alloc = JS_CLASS_INIT_COUNT;

rt->stack_size = JS_DEFAULT_STACK_SIZE;
#ifdef __ASAN__
rt->stack_size *= 2; // stack frames are bigger under AddressSanitizer
#endif
//#ifdef __ASAN__
// rt->stack_size *= 2; // stack frames are bigger under AddressSanitizer
//#endif
#ifdef __wasi__
rt->stack_size = 0;
#endif
Expand Down

0 comments on commit ca5505e

Please sign in to comment.