diff options
| author | Maciej 'vesim' KuliĆski <vesim809@pm.me> | 2024-09-24 20:59:09 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-09-25 07:37:03 -0700 |
| commit | 4ceefca14be313e91a248fdc532e37edf4a02a51 (patch) | |
| tree | b4a7b948952f5986cc0a8b79de2e918abd64ae24 /src | |
| parent | efc98fcbebfd91b65b3de6070718247aafcc1c33 (diff) | |
| download | zig-4ceefca14be313e91a248fdc532e37edf4a02a51.tar.gz zig-4ceefca14be313e91a248fdc532e37edf4a02a51.zip | |
mips: use byval for all integer types
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/mips/abi.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/mips/abi.zig b/src/arch/mips/abi.zig index 8f3cebd21c..02c4c637a4 100644 --- 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 => { |
