use internal calls for internals

This commit is contained in:
2026-01-26 11:44:21 -06:00
parent 086508bacd
commit 06f7791159
2 changed files with 355 additions and 341 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -545,6 +545,11 @@ static inline JS_BOOL JS_IsFunction(JSValueConst v)
return JS_VALUE_GET_TAG(v) == JS_TAG_FUNCTION;
}
static inline JS_BOOL JS_IsInteger(JSValueConst v)
{
return JS_VALUE_GET_TAG(v) == JS_TAG_INT;
}
static inline JS_BOOL JS_IsObject(JSValueConst v)
{
return JS_VALUE_GET_TAG(v) == JS_TAG_OBJECT;