summaryrefslogtreecommitdiff
path: root/src/trans
AgeCommit message (Collapse)AuthorFilesLines
2019-10-12Codegen C - Don't link proc macros into final executableJohn Hodge1-7/+13
2019-10-05Codegen C - Fix dylib linking logic to ignore proc macrosJohn Hodge1-1/+4
2019-08-19Codegen C - Don't emit call return assignment of ZSTsJohn Hodge1-0/+5
2019-08-18Trans AutoImpls - Fix minor issue in generation of Clone panic armsJohn Hodge1-1/+1
2019-08-18Codegen C - Don't emit any assignment of ZSTsJohn Hodge1-2/+2
2019-08-18Codegen MMIR - panic_impl stubJohn Hodge1-0/+15
2019-08-11Trans Mangling (v2) - Add ABIs, slight tweak to path/type manglingJohn Hodge1-16/+22
2019-08-11Codegen C - Remove hard-coded mangled namesJohn Hodge1-3/+10
2019-08-10Trans - Alternative mangling scheme with no '$' charactersJohn Hodge1-0/+286
2019-08-09Codegen MMIR - Emit drop glue for enum/union typesJohn Hodge1-70/+81
2019-08-07Standalone MIRI - Rough panic supportJohn Hodge1-6/+6
2019-08-05Codegen MMIR - Selective drop glueJohn Hodge2-4/+9
2019-08-04Standalone MIRI - Restructure so `0` is never a valid pointer valueJohn Hodge1-7/+12
2019-08-03Codegen MMIR - Handle enum constructorsJohn Hodge1-4/+49
2019-07-21(minor) Fix comment typoJohn Hodge1-1/+1
2019-07-20Codegen C - Fix Box drop impl not being overriddenJohn Hodge1-9/+21
2019-07-14standalone_miri - Fix after MIR refactorJohn Hodge1-7/+22
2019-07-13Trans sizeof - Fix bug where sizeof<*const T> would return 2*ptr if T was ?SizedJohn Hodge2-77/+46
2019-06-30Codegen C - Fix incorrect size in vtablesJohn Hodge1-5/+12
2019-06-29All - Working dylib support (not used yet, needs rpath/absolute)John Hodge1-1/+28
2019-06-29Trans - Rework to potentially support dynamic librariesJohn Hodge5-23/+72
2019-06-22HIR - Wrap impls in unique_ptr to keep pointer stability hackJohn Hodge2-11/+12
2019-06-22Expand/Trans - Better handling of #[panic_implementation]John Hodge1-3/+8
2019-06-09HIR - Sort trait impls tooJohn Hodge2-71/+90
2019-06-08Codegen C - (minor) Include drop statement in output commentsJohn Hodge1-0/+1
2019-06-04HIR - Use maps-of-vectors for impl lists for faster lookup, optimise ↵John Hodge4-123/+175
Trans_Enumerate
2019-06-02MIR - Refactor LValue to reduce size and linked-list-ness (seems to have had ↵John Hodge5-469/+321
a ~10% reduction in memory usage)
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of ↵John Hodge5-20/+25
std::string for paths/identifiers
2019-05-14Trans Enumerate - Cache paths used by functionJohn Hodge1-45/+100
2019-05-12Codegen C - (minor) Commenting and extra assertionsJohn Hodge1-3/+7
2019-05-11HIR Const Eval - Use cached monomorphsed values in consteval, evaluate in ↵John Hodge1-1/+3
reverse
2019-05-06Codegen C - Mark llvm.* shims as staticJohn Hodge1-0/+2
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-03HIR - Minimally-tested support for `extern { type }`John Hodge4-12/+24
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