diff --git a/oden-js-sys/quickjs/quickjs.c b/oden-js-sys/quickjs/quickjs.c index 159ecb81..f7033f31 100644 --- a/oden-js-sys/quickjs/quickjs.c +++ b/oden-js-sys/quickjs/quickjs.c @@ -109,8 +109,6 @@ /* test the GC by forcing it before each object allocation */ //#define FORCE_GC_AT_MALLOC -#define CONFIG_DEBUGGER - #ifdef CONFIG_ATOMICS #include #include @@ -312,13 +310,11 @@ struct JSRuntime { #endif void *user_opaque; -#ifdef CONFIG_DEBUGGER struct list_head breakpoint_list; JSDebugCallbackFunc *debug_callback; void *debug_opaque; int stepping_pc; uint8_t stepping_byte; -#endif }; struct JSClass { @@ -1664,9 +1660,7 @@ JSRuntime *JS_NewRuntime2(const JSMallocFunctions *mf, void *opaque) #endif init_list_head(&rt->job_list); -#ifdef CONFIG_DEBUGGER init_list_head(&rt->breakpoint_list); -#endif if (JS_InitAtoms(rt)) goto fail; @@ -54321,7 +54315,6 @@ JSBreakpoint *JS_SetBreakpoint(JSContext *ctx, JSAtom file, int line) } } } - return NULL; }