diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-21 00:56:07 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-21 01:06:39 -0700 |
commit | 9463599fdf38b50afcc68f568cf6ad682428ce74 (patch) | |
tree | 8ab77f6d3984f197ab705003653f3e0e3eb5a5a5 /doc | |
parent | 220ec69d2c45b4ab234bf39d227954e49a264e31 (diff) |
Keep track of type properties in type
Diffstat (limited to 'doc')
-rw-r--r-- | doc/software.md | 4 |
1 files changed, 2 insertions, 2 deletions
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: |