summaryrefslogtreecommitdiff
path: root/src/mir
AgeCommit message (Expand)AuthorFilesLines
2019-11-24MIR - Add comparison of terminatorsJohn Hodge2-0/+87
2019-11-24Misc - Warning tweaks to make MSVC be quietJohn Hodge1-1/+2
2019-11-23HIR - Restructure resolve to replace `Self` type later in processingJohn Hodge1-2/+1
2019-11-10HIR Expand - Ensure that all erased types are evaluated before MIR generationJohn Hodge3-19/+3
2019-11-07All - Fix some clang warningsJohn Hodge2-2/+2
2019-11-09Misc - Fix some warnings from MSVCJohn Hodge1-2/+2
2019-11-09MIR Gen - Delete HIR once MIR is created (replace with a small node)John Hodge1-1/+10
2019-11-03HIR - Correct enum repr typesJohn Hodge1-2/+1
2019-10-26Merge remote-tracking branch 'remotes/origin/master' into nightly-1.29John Hodge1-1/+1
2019-10-26All - Compilation fixes on VS2015 (constructors, warnings, missing files, cla...John Hodge3-1/+3
2019-10-26HIR Typecheck - Allow coercion to add `unsafe` to function pointersJohn Hodge1-0/+5
2019-10-20MIR Optimise - Fix a mis-optimisatio when there's &mut-s aroundJohn Hodge1-1/+4
2019-08-23MIR Optimise - Handle case where a &mut isn't usedJohn Hodge1-0/+5
2019-08-11MIR Optimise - Fix mis-optimisation in splitting tuplesJohn Hodge1-1/+16
2019-08-10MIR Optimise - Fix mis-optimisation in mpscJohn Hodge1-9/+11
2019-08-07MIR Optimise - Expand "needs_drop" in optimisation stageJohn Hodge1-0/+17
2019-08-03MIR Cleanup - Clean up constants moreJohn Hodge1-0/+28
2019-08-03MIR Optimise - Extend Single-Read/Write optimisation to follow goto/callJohn Hodge1-12/+62
2019-08-03MIR Optimise - Remove duplicate codeJohn Hodge1-30/+5
2019-08-03MIR Optimise - De-borrow, fix invalidation in old de-termporary codeJohn Hodge1-31/+272
2019-07-27Lower MIR - Handle match with unionJohn Hodge1-1/+8
2019-07-21MIR Optimise - Tweaks to new optimisationJohn Hodge1-14/+35
2019-07-20MIR Optimise - Simpler and more powerful temporary eliminationJohn Hodge1-9/+348
2019-07-14MIR Optimise - Don't evaluate U128 invJohn Hodge1-2/+3
2019-07-13MIR Optimise - Improved constant propagationJohn Hodge1-13/+81
2019-07-07MIR Optimise - Fix (and detect) mis-optimisation with indexing, more const pr...John Hodge3-9/+68
2019-06-16MIR Gen - (minor) Log node pointersJohn Hodge1-0/+5
2019-06-08MIR Gen - Fix clobbering of value state when fields are reassignedJohn Hodge2-21/+14
2019-06-08MIR Gen - Casts moveJohn Hodge1-1/+1
2019-06-02MIR - Refactor LValue to reduce size and linked-list-ness (seems to have had ...John Hodge13-1250/+1394
2019-05-25MIR - Condense LValue debug formatJohn Hodge1-8/+8
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of std::str...John Hodge4-14/+13
2019-05-14Trans Enumerate - Cache paths used by functionJohn Hodge2-1/+19
2019-05-09MIR Optimise - Work around De-Temporary bug that was mis-optimising Vec::retainJohn Hodge1-0/+14
2019-05-05MIR - Wrap HIR::Path-s in MIR::Constant in unique_ptrJohn Hodge7-44/+91
2019-05-04Match Ergonomics - Auto-deref in `ref` patterns to get `&T`John Hodge2-2/+9
2019-05-03Lower MIR - (minor) Replace TU_MATCH with TU_MATCH_HDRJohn Hodge1-29/+26
2019-04-28MIR Gen - Support `match` in a `match` guard armJohn Hodge3-9/+51
2019-04-28MIR Optimise - Fix (and detect) a recursive inline, remove drops of GC'd loca...John Hodge1-2/+57
2019-04-25MIR - Reduce size of LValue::Static by putting the HIR::Path behind a pointerJohn Hodge7-11/+67
2019-04-21MIR Lower - Fix wrong type used for validation return typeJohn Hodge1-2/+2
2019-03-22MIR From HIR - TODO for try-catch handlingJohn Hodge1-0/+5
2019-03-22Common - Add another `ord` overload, fix breakage from thatJohn Hodge2-2/+2
2019-03-02Lower MIR - Wildcard pattern handlingJohn Hodge1-21/+23
2019-03-02MIR Gen - Handle extern types in matchJohn Hodge1-15/+20
2019-02-03HIR - Minimally-tested support for `extern { type }`John Hodge2-0/+18
2019-02-03HIR Expr - Have _StructLiteral take a HIR::Path (to allow associated types to...John Hodge1-15/+20
2019-01-20HIR Misc - Local asserts with patternsJohn Hodge1-0/+2
2019-01-20MIR Gen - (minor) Commented-out post-gen dumpJohn Hodge1-0/+1
2019-01-04Constant Evaluate - More handling of Defer constantsJohn Hodge1-1/+1