From 9463599fdf38b50afcc68f568cf6ad682428ce74 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 21 Apr 2019 00:56:07 -0700 Subject: Keep track of type properties in type --- doc/software.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/software.md b/doc/software.md index e863711..03e28b9 100644 --- a/doc/software.md +++ b/doc/software.md @@ -23,8 +23,8 @@ below) to avoid errors in unused `static inline` functions in musl's things will break if any functions with `long double` get called. ```diff --struct type typeldouble = {.kind = TYPELDOUBLE, .size = 16, .align = 16}; // XXX: not supported by qbe -+struct type typeldouble = {.kind = TYPELDOUBLE, .size = 8, .align = 8, .repr = &f64}; +-struct type typeldouble = FLTTYPE(TYPELDOUBLE, 16, NULL); // XXX: not supported by qbe ++struct type typeldouble = FLTTYPE(TYPELDOUBLE, 8, &f64); ``` Requires several patches available here: -- cgit v1.2.3