authorgravatar for nathan@nmichaels.orgNathan Michaels <nathan@nmichaels.org> 2020-12-08 13:09:00-05:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2020-12-08 13:09:00-05:00
log1847d0cfc2c1445e27729f84aa4b4385f1a32d12
tree2ce4e0f41d5e92211907bbd1e53b53e459250b0c
parenta01d55e801c91b5f8b6beb1ae88640e16ffdf058
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Implement msp430 mapping for c_longdouble. (#7333)


1 files changed, 3 insertions(+), 0 deletions(-)

src/stage1/codegen.cpp+3
...@@ -8657,6 +8657,9 @@ static void define_builtin_types(CodeGen *g) {...@@ -8657,6 +8657,9 @@ static void define_builtin_types(CodeGen *g) {
8657 // It's either a float or a double, depending on a toolchain switch8657 // It's either a float or a double, depending on a toolchain switch
8658 add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);8658 add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);
8659 break;8659 break;
8660 case ZigLLVM_msp430:
8661 add_fp_entry(g, "c_longdouble", 64, LLVMDoubleType(), &g->builtin_types.entry_c_longdouble);
8662 break;
8660 default:8663 default:
8661 zig_panic("TODO implement mapping for c_longdouble");8664 zig_panic("TODO implement mapping for c_longdouble");
8662 }8665 }