diff options
| author | LemonBoy <thatlemon@gmail.com> | 2019-09-21 23:00:36 +0200 |
|---|---|---|
| committer | LemonBoy <thatlemon@gmail.com> | 2019-09-26 09:31:55 +0200 |
| commit | 4ebcf64864eeec6c2086826242f53eedc69275ad (patch) | |
| tree | 3002ce16fcb94c9b1e6852e9bae6eda3b1da5583 /src/analyze.cpp | |
| parent | 2f208330975041cdb36763fab314037e46c291fc (diff) | |
| download | zig-4ebcf64864eeec6c2086826242f53eedc69275ad.tar.gz zig-4ebcf64864eeec6c2086826242f53eedc69275ad.zip | |
Initial support for mipsel architecture¬
Diffstat (limited to 'src/analyze.cpp')
| -rw-r--r-- | src/analyze.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/analyze.cpp b/src/analyze.cpp index 5a3551a7c2..c03d145c5d 100644 --- a/src/analyze.cpp +++ b/src/analyze.cpp @@ -918,6 +918,8 @@ bool want_first_arg_sret(CodeGen *g, FnTypeId *fn_type_id) { return abi_class == X64CABIClass_MEMORY; } else if (target_is_arm(g->zig_target)) { return type_size(g, fn_type_id->return_type) > 16; + } else if (g->zig_target->arch == ZigLLVM_mipsel) { + return false; } zig_panic("TODO implement C ABI for this architecture. See https://github.com/ziglang/zig/issues/1481"); } |
