From a229cfd3c6884434bdf0ce774ecefa083a5bb29b Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Fri, 22 Sep 2023 21:26:35 -0700 Subject: Make this function inline --- src/bun.js/bindings/bindings.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bun.js') 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); } -- cgit v1.2.3