| 622 | |
| 623 | void __JS_FreeValue(JSContext* ctx, JSValue v); |
| 624 | static inline void JS_FreeValue(JSContext* ctx, JSValue v) { |
| 625 | if (JS_VALUE_HAS_REF_COUNT(v)) { |
| 626 | JSRefCountHeader* p = (JSRefCountHeader*)JS_VALUE_GET_PTR(v); |
| 627 | if (--p->ref_count <= 0) { |
| 628 | __JS_FreeValue(ctx, v); |
| 629 | } |
| 630 | } |
| 631 | } |
| 632 | void __JS_FreeValueRT(JSRuntime* rt, JSValue v); |
| 633 | static inline void JS_FreeValueRT(JSRuntime* rt, JSValue v) { |
| 634 | if (JS_VALUE_HAS_REF_COUNT(v)) { |
no outgoing calls
no test coverage detected