| ... | @@ -3179,6 +3179,10 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) u16 { | ... | @@ -3179,6 +3179,10 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) u16 { |
| 3179 | }, | 3179 | }, |
| 3180 | else => {}, | 3180 | else => {}, |
| 3181 | }, | 3181 | }, |
| | 3182 | .m68k => switch (c_type) { |
| | 3183 | .int, .uint, .long, .ulong => return 2, |
| | 3184 | else => {}, |
| | 3185 | }, |
| 3182 | .powerpc, .powerpcle, .powerpc64, .powerpc64le => switch (target.os.tag) { | 3186 | .powerpc, .powerpcle, .powerpc64, .powerpc64le => switch (target.os.tag) { |
| 3183 | .aix => switch (c_type) { | 3187 | .aix => switch (c_type) { |
| 3184 | .double, .longdouble => return 4, | 3188 | .double, .longdouble => return 4, |
| ... | @@ -3281,6 +3285,10 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 { | ... | @@ -3281,6 +3285,10 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 { |
| 3281 | else => {}, | 3285 | else => {}, |
| 3282 | }, | 3286 | }, |
| 3283 | }, | 3287 | }, |
| | 3288 | .m68k => switch (c_type) { |
| | 3289 | .int, .uint, .long, .ulong => return 2, |
| | 3290 | else => {}, |
| | 3291 | }, |
| 3284 | .wasm32, .wasm64 => switch (target.os.tag) { | 3292 | .wasm32, .wasm64 => switch (target.os.tag) { |
| 3285 | .emscripten => switch (c_type) { | 3293 | .emscripten => switch (c_type) { |
| 3286 | .longdouble => return 8, | 3294 | .longdouble => return 8, |