summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2017-07-06MIR - Add (but don't use) a SwitchValue terminatorJohn Hodge14-166/+259
2017-07-06MIR Helpers - Expand associated types in monomorpised function typesJohn Hodge1-1/+3
2017-07-06MIR Gen - Reset drop flags on entry to a loop (instead of after use)John Hodge3-17/+30
2017-07-02Codegen C - Fix indenting in destructorsJohn Hodge1-25/+22
2017-07-02MIR Gen - Make mutating state (other than the if condition) within a match ↵John Hodge3-1/+33
guard an error
2017-07-02Codegen C - (minor) Comment before enum definitionsJohn Hodge1-0/+1
2017-07-02main - Use skewer case, not snakeJohn Hodge1-1/+1
2017-07-02MIR Optimise - Store params and Copy args earlyJohn Hodge2-22/+40
2017-07-02MIR Gen - Track states for arguments (and directly use arguments where possible)John Hodge4-95/+181
2017-06-25MIR Helpers - Add a shortcut to check if a LValue is CopyJohn Hodge2-0/+6
2017-06-25MIR Optimise - Support minimal optimisiationsJohn Hodge3-22/+342
2017-06-23MIR Gen - Disable argument replacement until argument states are tracked fullyJohn Hodge2-3/+18
2017-06-22MIR Gen - Remove arguments that are just assigned from argumentsJohn Hodge2-0/+15
2017-06-22Codegen C - First pass at structured C output (generated, but not compiled)John Hodge3-94/+584
2017-06-18Trans - Starting work on multiple targetsJohn Hodge5-511/+657
2017-06-18MIR Optimise - (minor) Comment on sortJohn Hodge1-0/+1
2017-06-17MIR Optimise - Sort BBs into approximate program flowJohn Hodge2-1/+117
2017-06-16MIR optimise - Fix a few little bugsJohn Hodge3-22/+80
2017-06-16MIR - Unify temporaries and variablesJohn Hodge21-944/+521
2017-06-15Codegen C - Fix float precision, disable test broken by fixed precisionJohn Hodge1-18/+14
2017-06-11Codegen C - Fix -INFINITYJohn Hodge1-1/+1
2017-06-11Codegen C - Make all drop glue staticJohn Hodge1-6/+6
2017-06-11Typecheck Static - Fix bug in needs_drop_glueJohn Hodge1-1/+2
2017-06-11Expand - Make file!/line! get the invocation location of a macroJohn Hodge6-17/+29
2017-06-11Parse - Support chaining of spans (for macro expansions)John Hodge16-90/+101
2017-06-10MIR Validate Full - Remove need for garbage collection of statesJohn Hodge1-45/+142
2017-06-10MIR Gen - Fix incorrect codegen due to defaulting to 0 not ~0John Hodge2-3/+4
2017-06-09Fix use of hard tabsJohn Hodge22-360/+360
2017-06-09Fix build broken by MSVC portJohn Hodge6-9/+10
2017-06-04Merge branch 'master' of https://github.com/thepowersgang/mrustcJohn Hodge (bugs)32-315/+1085
2017-06-04All - Compile and run fixes in MSVCJohn Hodge (bugs)9-23/+80
2017-06-04Trans - Emit monomorphised/inlined functions as `static`John Hodge4-12/+27
2017-06-04HIR Typecheck - Remove assertion that static impls aren't fuzzyJohn Hodge1-1/+1
2017-06-03HIR Typecheck - Validate traits after typecheckJohn Hodge5-17/+286
2017-06-02MIR Optimise - Remove unused drop flagsJohn Hodge1-81/+106
2017-06-02Codegen C - Return value from mainJohn Hodge1-2/+2
2017-06-02Tweaks to handling of struct patternsJohn Hodge3-16/+41
2017-05-28AST - Refactor to make unit-like structs their own variantJohn Hodge11-68/+95
2017-05-28HIR - (minir) Fix debug output of patternsJohn Hodge1-4/+4
2017-05-28Typecheck Expressions - Fix some places where ivars don't have indexesJohn Hodge2-1/+12
2017-05-26Typecheck Expr - Fix a place where literals can become trait objectsJohn Hodge1-9/+22
2017-05-26HIR Typecheck - Handle struct syntax for unit structsJohn Hodge3-2/+37
2017-05-26Codegen C - Handle signed bswapJohn Hodge1-1/+7
2017-05-24Enable optimisationJohn Hodge1-0/+1
2017-05-16HIR Typecheck - TweaksJohn Hodge1-2/+3
2017-05-15MIR Gen - Handle drop_in_place being a lang itemJohn Hodge1-4/+17
2017-05-15expand/lang - Lang items in later versions of rustcJohn Hodge1-0/+2
2017-05-15MIR Gen - Don't emit drop for union valuesJohn Hodge1-0/+7
2017-05-15HIR Typecheck - Fix greedily picking the most specific impl when typecheckingJohn Hodge1-4/+4
2017-05-15HIR Typecheck - Handling of implicit Sized bound when searching forJohn Hodge3-18/+88
impls