summaryrefslogtreecommitdiff
path: root/llvm_codegen.c
AgeCommit message (Collapse)AuthorLines
2020-01-08Add option to enable/disable boxingTom Harley-30/+131
Only affects atomic types, not structs. Accepts three options: - "-u always": always boxes - "-u never": never boxes - "-u smart": inserts a comparison of sizes, and boxes only if the item is bigger than a pointer. "smart" is smart in name only; I expected the comparison to be optimised away (since the sizes of the types are known at compile-time), but it seems to run significantly slower than the other options. Steps to improve: - try making the comparison compile-time (or, if it already is, find out why it's so slow);
2020-01-08I should commit moreTom Harley-100/+788
2019-12-23checkpointTom Harley-0/+842