zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4ceefca14be313e91a248fdc532e37edf4a02a51 (tree)
parent efc98fcbebfd91b65b3de6070718247aafcc1c33
Author: Maciej 'vesim' KuliƄski <vesim809@pm.me>
Date:   Tue, 24 Sep 2024 20:59:09 +0200

mips: use byval for all integer types

Diffstat:
Msrc/arch/mips/abi.zig | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/arch/mips/abi.zig b/src/arch/mips/abi.zig @@ -41,8 +41,6 @@ pub fn classifyType(ty: Type, zcu: *Zcu, ctx: Context) Class { .bool => return .byval, .float => return .byval, .int, .@"enum", .error_set => { - const bit_size = ty.bitSize(zcu); - if (bit_size > max_direct_size) return .memory; return .byval; }, .vector => {