diff options
author | 2023-09-22 21:26:35 -0700 | |
---|---|---|
committer | 2023-09-22 21:26:35 -0700 | |
commit | a229cfd3c6884434bdf0ce774ecefa083a5bb29b (patch) | |
tree | 4c4018c58f6fe6ea8b49cc272ec84ff783692458 /src/bun.js | |
parent | 966b636e5d2026bf535a85860895fab2c004dac1 (diff) | |
download | bun-a229cfd3c6884434bdf0ce774ecefa083a5bb29b.tar.gz bun-a229cfd3c6884434bdf0ce774ecefa083a5bb29b.tar.zst bun-a229cfd3c6884434bdf0ce774ecefa083a5bb29b.zip |
Make this function inline
Diffstat (limited to 'src/bun.js')
-rw-r--r-- | src/bun.js/bindings/bindings.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/bindings/bindings.zig b/src/bun.js/bindings/bindings.zig index 3a0b369e9..6c1e11e34 100644 --- a/src/bun.js/bindings/bindings.zig +++ b/src/bun.js/bindings/bindings.zig @@ -3224,7 +3224,7 @@ pub const JSValue = enum(JSValueReprInt) { }; } - pub fn isObject(this: JSType) bool { + pub inline fn isObject(this: JSType) bool { // inline constexpr bool isObjectType(JSType type) { return type >= ObjectType; } return @intFromEnum(this) >= @intFromEnum(JSType.Object); } |