summaryrefslogtreecommitdiff
path: root/src/mir/from_hir_match.cpp
AgeCommit message (Expand)AuthorFilesLines
2017-12-30MIR From HIR (match) - Change assertion to match actual conditionsJohn Hodge1-1/+1
2017-11-05MIR - Use SwitchValue terminatorJohn Hodge1-45/+57
2017-11-01HIR - Refactor enums to only embed a single field (and give variants types)John Hodge1-115/+38
2017-09-05MIR Gen Match - Handle split slice trailingJohn Hodge1-12/+9
2017-09-04MIR Gen - Partial support for trailing slice patternsJohn Hodge1-6/+46
2017-09-02MIR Lower Match - Allow up to 2^14 arms (handles inefficient derive)John Hodge1-6/+13
2017-07-02MIR Gen - Make mutating state (other than the if condition) within a match gu...John Hodge1-1/+2
2017-07-02MIR Gen - Track states for arguments (and directly use arguments where possible)John Hodge1-9/+16
2017-06-16MIR - Unify temporaries and variablesJohn Hodge1-1/+1
2017-05-14Visual Studio compile fixesJohn Hodge (bugs)1-16/+0
2017-04-30MIR Gen Match - Fix Grouped match generatorJohn Hodge1-101/+133
2017-04-22MIR Gen - Common lvalue for ifJohn Hodge1-6/+5
2017-04-13MIR Gen - Do value raising for deref operator overloadsJohn Hodge1-0/+1
2017-04-07MIR Gen - Remove old DT match codeJohn Hodge1-1957/+3
2017-04-07Match - Replace DecisionTree with a sort+group algorithmJohn Hodge1-13/+1377
2017-03-30MIR Gen Match - Disable DTN algorithm due to minor bugJohn Hodge1-3/+38
2017-03-11MIR Gen - Support integer ranges in simple match generationJohn Hodge1-2/+34
2017-03-11MIR Gen Match - Fix bug in range handlingJohn Hodge1-2/+1
2017-02-25MIR Gen - Remove temporaries in match generationJohn Hodge1-54/+48
2017-02-22MIR Gen - Replace some temporaries with ParamJohn Hodge1-18/+19
2017-02-22MIR - Restrict Constant::Bytes to returning &[u8; N]John Hodge1-3/+5
2017-02-22MIR - Add types to integer constantsJohn Hodge1-49/+51
2017-02-12MIR Gen - Alter handling of scopes to support diverging expressionsJohn Hodge1-2/+2
2017-01-20MIR Gen - Fix temporary drops in split scopesJohn Hodge1-2/+8
2017-01-20MIR - Drop flags (incomplete, doesn't pass validation)John Hodge1-20/+0
2017-01-15MIR From HIR - Fix bug in handling single-value rangesJohn Hodge1-22/+26
2017-01-08All - i128/u182 support, typecheck and parse fixesJohn Hodge1-0/+10
2017-01-06MIR Gen Match - Allow single-value rangesJohn Hodge1-2/+1
2017-01-04MIR Gen - BinOp on str/[T] must be on pointersJohn Hodge1-1/+1
2017-01-02MIR - Remove Deref from inputs to RValue::DstMeta/DstPtrJohn Hodge1-3/+3
2016-12-31MIR - Fix a bit of invalid MIRJohn Hodge1-2/+2
2016-12-28MIR Gen - Spaces removed, misc thinkingJohn Hodge1-4/+4
2016-12-27MIR - Disable validation so travis build will passJohn Hodge1-2/+2
2016-12-27MIR Gen - Misc fixesJohn Hodge1-4/+5
2016-12-27MIR Gen - Better handling of split scopes (optional init)John Hodge1-2/+6
2016-12-25Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge1-227/+227
2016-12-25MIR Gen - Misc fixes for drop order quirksJohn Hodge1-1/+1
2016-12-24No more tears!ubsan1-227/+227
2016-12-24MIR Gen - Fix some bugs exposed by extended validationJohn Hodge1-0/+3
2016-12-24HIR Expand Closures - Handle closures called from other closuresJohn Hodge1-0/+2
2016-12-23MIR Gen - Track split state for temporaries (incomplete)John Hodge1-2/+119
2016-12-21MIR Gen Match - Drop temporaries from match arms within the armJohn Hodge1-2/+7
2016-12-21MIR Gen Match - Correct types for bytestring comparisonJohn Hodge1-2/+4
2016-12-14Consteval - Re-enabled full first-pass constevalJohn Hodge1-1/+2
2016-12-10MIR Match Gen - Fix incorrect arms chosenJohn Hodge1-1/+3
2016-11-20MIR Gen Match - Box pattern supportJohn Hodge1-1/+32
2016-11-19HIR - Add Union type path bindingJohn Hodge1-0/+29
2016-11-19MIR Gen Match - Fix bad type for string in simpleJohn Hodge1-2/+2
2016-11-19MIR Gen Match - HACK: Allow duplicate terminals (ranges)John Hodge1-3/+2
2016-11-19MIR Gen Match - Rough Slice and SplitSlice supportJohn Hodge1-8/+80