aboutsummaryrefslogtreecommitdiff
path: root/test/conditional-compound-literal.qbe
AgeCommit message (Collapse)Author
2021-07-01qbe: Remove unnecessary distinction between loaduw and loadswMichael Forney
We always store the result to a w temporary, so there is no difference. In fact, QBE provides loadw as an alias for loadsw precisely for this reason.
2020-05-24qbe: Omit unnecessary add to help QBE's memopt passMichael Forney
2019-05-12eval: Keep track of kind of constant expression we are evaluatingMichael Forney
When we are evaluating an arithmetic constant expression, we don't want to indroduce static data definitions for string or compound literals. Fixes #59.