summaryrefslogtreecommitdiff
path: root/src/trans
AgeCommit message (Collapse)AuthorFilesLines
2019-05-05MMIR - Fix a TODO around pointers to stringsJohn Hodge1-12/+25
2019-05-05MIR - Wrap HIR::Path-s in MIR::Constant in unique_ptrJohn Hodge4-10/+10
2019-04-28Trans Monomorph - Associated constants left as DeferJohn Hodge5-14/+88
2019-04-25MIR - Reduce size of LValue::Static by putting the HIR::Path behind a pointerJohn Hodge4-5/+5
2019-04-25HIR - Add more complete privacy handling (allowing for autoderef to skip ↵John Hodge1-2/+2
private fields)
2019-03-03Codegen C - Cast to int128_t for literalsJohn Hodge1-0/+2
2019-03-03Trans Monomorph - (minor) Better assertionJohn Hodge1-0/+2
2019-03-03Target - Return zero/infinite for extern type align/sizeJohn Hodge1-0/+12
2019-03-03Trans Auto Impls - Clone for closuresJohn Hodge1-38/+91
2019-03-03Trans Enumerate - Add auto clone impl for closures, specialisation fix, and ↵John Hodge1-50/+99
a slight optimisation
2019-03-03Codegen C - Don't emit extern typesJohn Hodge1-2/+3
2019-02-24Implement compiler check TODO. (#112)Markus Reiter1-7/+8
Checks if `<backend>-gcc` exists before trying to call it, and does so before trying $CC
2019-02-23Codegen C - Fix msvc clz/ctzJohn Hodge1-5/+9
2019-02-03HIR - Minimally-tested support for `extern { type }`John Hodge4-12/+24
2019-01-22targets: Add x86_64 and arm targets for HaikuAlexander von Gluck IV1-0/+14
2019-01-20Trans Enumerate - Ensure that clone impls called by auto clone impl are ↵John Hodge1-2/+23
enumerated
2019-01-20Trans - Packed types force outer alignment to 1John Hodge1-1/+1
2019-01-01Target - Handle opaque types in size/alignJohn Hodge1-0/+2
2018-12-30Auto Impls - Automatic delegating impl of Clone for tuplesJohn Hodge2-1/+60
2018-12-30Codegen C - Fix integer printing quirksJohn Hodge1-3/+13
2018-12-30Codegen C - Add hacky compiler-provided glueJohn Hodge3-22/+92
2018-12-29Trans Enumerate - Handle 1.29 having generics on `lang_start`John Hodge1-9/+13
2018-12-29Typecheck/Trans - Handle magic clone impls for 1.29John Hodge1-1/+5
2018-12-29HIR - Add new struct reprs (mostly stubbed)John Hodge2-146/+3
- Also cleared out some dead code in target.cpp
2018-12-29Codegen C - Handle 1.29 box_free calling convention (hack)John Hodge1-12/+23
2018-12-29Lower MIR - Handing of irrefutable enum matches, some other tweaksJohn Hodge1-0/+1
2018-12-28Trans Target - cfg for atomic comare-and-set (tied to atomic ptr)John Hodge1-0/+1
2018-12-22Trans - Fix alignment values for m68kJohn Paul Adrian Glaubitz1-1/+1
2018-12-22Codegen MMIR - Forgot to compile before commit, fix syntax errors.John Hodge1-2/+2
2018-12-22(minor) Whitespace cleaupJohn Hodge1-2/+2
2018-12-22Codegen MMIR - Remove places where assert body needs to be evaluated (ref #97)John Hodge1-8/+12
2018-12-22Constant Evaluation - Evaluate missing associated constants with trait impl ↵John Hodge2-0/+4
versions
2018-12-22MIR Cleanup - Misc commenting on handling of Defer literalsJohn Hodge1-0/+7
2018-12-22Codegen C - Fix incorrect memory orderingsJohn Hodge1-2/+3
2018-12-15Trans Target - Fix MSVC buildJohn Hodge2-18/+36
2018-12-15Targets - Add alignment to the target specs, along with a saveback test.John Hodge3-54/+122
2018-12-09Codegen C - Fix incorrect use of ZST in enum constructor shim (fixes #86)John Hodge1-1/+1
2018-12-09Trans Auto Impls - Don't run if 1.19 modeJohn Hodge1-0/+3
2018-11-14Trans - Add initial support for m68kJohn Paul Adrian Glaubitz1-0/+16
2018-11-04Codegen C - Fix minor OOB string readJohn Hodge1-3/+2
2018-11-03HIR Typecheck - Fixing holes from 1.29 compiler_builtinsJohn Hodge1-0/+6
2018-10-19Codegen C - Fix incorrect use of ZST in enum constructor shim (fixes #86)John Hodge1-1/+1
2018-10-03Merge branch 'master' into nightly-1.29John Hodge2-71/+256
2018-09-30Merge pull request #84 from thepowersgang/ondemand-generationJohn Hodge (Mutabah)1-3/+8
Generate MIR when required for constant evaluation
2018-09-30Codegen C - Run destructors on ZSTs in enumsJohn Hodge1-7/+8
2018-09-22Codegen C - Fix incorrect destructor for zst enum variantsJohn Hodge1-2/+6
2018-09-09Msvc compile fixesJohn Hodge2-30/+47
2018-08-21Codegen C - Fix literals and omitted variantsJohn Hodge1-5/+5
2018-08-20Trans - Fix size/alignment mismatches on x86John Hodge2-27/+113
2018-08-19Codegen C - Fix bad prototype for Drop::dropJohn Hodge1-2/+2