From 67e82fd12c398d3f66fc14a7d7d2a7dc15c31120 Mon Sep 17 00:00:00 2001 From: John Alanbrook Date: Sat, 31 Jan 2026 11:40:16 -0600 Subject: [PATCH] merge objects and recs --- source/quickjs.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source/quickjs.c b/source/quickjs.c index a2d9c6e7..4ca9ac28 100644 --- a/source/quickjs.c +++ b/source/quickjs.c @@ -100,9 +100,6 @@ // #define DUMP_SHAPES /* dump shapes in JS_FreeContext */ // #define DUMP_READ_OBJECT // #define DUMP_ROPE_REBALANCE -/* dump profiling statistics (counters and sampling) when freeing the runtime - */ -// #define DUMP_PROFILE // #define RC_TRACE @@ -5695,8 +5692,7 @@ static JSValue JS_GetPropertyInt64 (JSContext *ctx, JSValue obj, int64_t idx) { return JS_GetPropertyNumber (ctx, obj, idx); } -JSValue JS_GetPropertyStr (JSContext *ctx, JSValue this_obj, - const char *prop) { +JSValue JS_GetPropertyStr (JSContext *ctx, JSValue this_obj, const char *prop) { if (JS_VALUE_GET_TAG (this_obj) != JS_TAG_OBJECT) return JS_NULL; size_t len = strlen (prop); @@ -6919,12 +6915,6 @@ static JSValue JS_ToStringFree (JSContext *ctx, JSValue val) { return ret; } -static JSValue JS_ToLocaleStringFree (JSContext *ctx, JSValue val) { - /* Simplified: just use toString for now since toLocaleString requires - method lookup and atoms are removed */ - return JS_ToStringFree (ctx, val); -} - JSValue JS_ToPropertyKey (JSContext *ctx, JSValue val) { int tag = JS_VALUE_GET_TAG (val);