| ... | @@ -3075,6 +3075,10 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) u16 { | ... | @@ -3075,6 +3075,10 @@ pub fn cTypeAlignment(target: *const Target, c_type: CType) u16 { |
| 3075 | }, | 3075 | }, |
| 3076 | else => {}, | 3076 | else => {}, |
| 3077 | }, | 3077 | }, |
| | 3078 | .m68k => switch (c_type) { |
| | 3079 | .int, .uint, .long, .ulong => return 2, |
| | 3080 | else => {}, |
| | 3081 | }, |
| 3078 | .powerpc, .powerpcle, .powerpc64, .powerpc64le => switch (target.os.tag) { | 3082 | .powerpc, .powerpcle, .powerpc64, .powerpc64le => switch (target.os.tag) { |
| 3079 | .aix => switch (c_type) { | 3083 | .aix => switch (c_type) { |
| 3080 | .double, .longdouble => return 4, | 3084 | .double, .longdouble => return 4, |
| ... | @@ -3175,6 +3179,10 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 { | ... | @@ -3175,6 +3179,10 @@ pub fn cTypePreferredAlignment(target: *const Target, c_type: CType) u16 { |
| 3175 | else => {}, | 3179 | else => {}, |
| 3176 | }, | 3180 | }, |
| 3177 | }, | 3181 | }, |
| | 3182 | .m68k => switch (c_type) { |
| | 3183 | .int, .uint, .long, .ulong => return 2, |
| | 3184 | else => {}, |
| | 3185 | }, |
| 3178 | .wasm32, .wasm64 => switch (target.os.tag) { | 3186 | .wasm32, .wasm64 => switch (target.os.tag) { |
| 3179 | .emscripten => switch (c_type) { | 3187 | .emscripten => switch (c_type) { |
| 3180 | .longdouble => return 8, | 3188 | .longdouble => return 8, |