debug: introduce bun.callmod_inline (#9001)

This commit is contained in:
Meghan Denny
2024-02-19 14:43:42 -08:00
committed by GitHub
parent 6f1939621c
commit 5712ba8b3b
34 changed files with 111 additions and 107 deletions

View File

@@ -687,7 +687,7 @@ pub fn startsWithGeneric(comptime T: type, self: []const T, str: []const T) bool
}
pub inline fn endsWith(self: string, str: string) bool {
return str.len == 0 or @call(.always_inline, std.mem.endsWith, .{ u8, self, str });
return str.len == 0 or @call(bun.callmod_inline, std.mem.endsWith, .{ u8, self, str });
}
pub inline fn endsWithComptime(self: string, comptime str: anytype) bool {