summaryrefslogtreecommitdiff
path: root/src/mir/from_hir.cpp
AgeCommit message (Collapse)AuthorFilesLines
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 Hodge1-1/+1
2019-11-09MIR Gen - Delete HIR once MIR is created (replace with a small node)John Hodge1-1/+10
2019-10-26All - Compilation fixes on VS2015 (constructors, warnings, missing files, ↵John Hodge1-0/+1
class/struct disagreement, <algorithm>)
2019-10-26HIR Typecheck - Allow coercion to add `unsafe` to function pointersJohn Hodge1-0/+5
2019-06-16MIR Gen - (minor) Log node pointersJohn Hodge1-0/+5
2019-06-02MIR - Refactor LValue to reduce size and linked-list-ness (seems to have had ↵John Hodge1-36/+40
a ~10% reduction in memory usage)
2019-05-19All - Switch to using interned (de-duplicated) RcString-s instead of ↵John Hodge1-5/+5
std::string for paths/identifiers
2019-05-05MIR - Wrap HIR::Path-s in MIR::Constant in unique_ptrJohn Hodge1-9/+11
2019-05-04Match Ergonomics - Auto-deref in `ref` patterns to get `&T`John Hodge1-0/+5
2019-04-25MIR - Reduce size of LValue::Static by putting the HIR::Path behind a pointerJohn Hodge1-1/+1
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-02Lower MIR - Wildcard pattern handlingJohn Hodge1-21/+23
2019-02-03HIR - Minimally-tested support for `extern { type }`John Hodge1-0/+3
2019-02-03HIR Expr - Have _StructLiteral take a HIR::Path (to allow associated types ↵John Hodge1-15/+20
to be used)
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-03Lower MIR - Allow "+" at the start of asm output specifiersJohn Hodge1-1/+1
2019-01-01Match ergonomics - Fixes and expansionJohn Hodge1-0/+5
2018-12-29Lower MIR - Handing of irrefutable enum matches, some other tweaksJohn Hodge1-33/+50
2018-12-29Misc MIR generation fixesJohn Hodge1-2/+2
2018-12-27Lower MIR - Match ergonomics (and a little bit of cleanup/fixes).John Hodge1-1/+1
- liballoc building, up to libstd
2018-12-27Lower MIR - Rough handling of 1.29 `box` operatorJohn Hodge1-0/+100
2018-10-03Merge branch 'master' into nightly-1.29John Hodge1-8/+27
2018-09-22All - Generate MIR for constant evaluation (has too many const_cast calls, ↵John Hodge1-7/+26
but it's less ugly) - Also includes some MIR optimisation changes to reduce some compile times (hopefully) - Removed duplicated MIR consteval and now-unused HIR consteval
2018-08-12MIR From HIR - Fix incorrect types in `<-` loweringJohn Hodge1-1/+1
2018-08-04Trans - Add auto-generated Clone impls (only for Copy types currently)John Hodge1-0/+8
2018-06-02All - Warning cleanup when built with clangJohn Hodge1-2/+2
2018-02-18MIR Gen - Store enum path with params in RValue::VariantJohn Hodge1-8/+8
2017-11-26HIR/MIR - Error checking for assigning into ! (as opposed to from !)John Hodge1-3/+4
2017-11-25MIR Gen - Comment about cast bugJohn Hodge1-0/+2
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge1-67/+136
2017-10-29HIR Typecheck - Allow casting function pointers to *const i8John Hodge1-1/+1
2017-09-22Trans - Little fixes for MSVC 32-bitJohn Hodge1-1/+9
2017-09-04MIR Gen - Partial support for trailing slice patternsJohn Hodge1-14/+24
2017-09-04All - Placement new (<-) syntaxJohn Hodge1-13/+24
2017-09-02MIR Lower - Handle `break value`John Hodge1-2/+28
2017-07-16All - Upgrade to rustc 1.19.0 beta (2017-07-08)John Hodge1-5/+5
2017-07-06MIR Gen - Reset drop flags on entry to a loop (instead of after use)John Hodge1-1/+7
2017-07-02MIR Gen - Track states for arguments (and directly use arguments where possible)John Hodge1-2/+9
2017-06-16MIR - Unify temporaries and variablesJohn Hodge1-13/+13
2017-06-04Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)1-4/+25
2017-05-26HIR Typecheck - Handle struct syntax for unit structsJohn Hodge1-0/+8
2017-05-15MIR Gen - Handle drop_in_place being a lang itemJohn Hodge1-4/+17
2017-05-14Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)1-83/+244
# Conflicts: # src/common.hpp # src/hir/deserialise.cpp # src/hir_typeck/static.cpp # src/mir/from_hir.cpp # src/mir/from_hir.hpp # src/mir/from_hir_match.cpp # src/mir/helpers.hpp # src/mir/mir_builder.cpp
2017-05-12MIR From HIR - Fix scoping of temporaries in loopsJohn Hodge1-1/+3
2017-05-12MIR - Fixed optimisation and scopring issuesJohn Hodge1-4/+4
2017-05-08MIR Gen - Fix incorrect scoping of temporaries in expression part of a blockJohn Hodge1-6/+16
2017-05-07HIR - Replace m_yeilds_final_value with a nodeJohn Hodge1-63/+56