20 Commits
Author SHA1 Message Date
Siegfried Pammer e1ca4db851 Fix #2527: Support skip locals init 2021-10-29 00:16:33 +02:00
Daniel Grunwald c26d9ad6f1 Mark stack slot for aggressive removal in InfeasiblePathTransform
This helps with pattern matching in short circuiting operators.
2021-07-18 23:34:29 +02:00
dotnet format 0d9f871a4f #2128: Reformat the whole code base. 2020-08-28 01:05:38 +02:00
Siegfried Pammer 047f119e99 Add RemoveDeadStores option 2019-08-18 00:29:37 +02:00
Siegfried Pammer 7d62a7e032 Reset HasInitialValue flag after TransformDisplayClassUsage. 2019-07-27 15:07:41 +02:00
Siegfried Pammer c1ac461c26 Enable MCS yield return pretty tests. 2019-07-07 11:51:51 +02:00
Daniel Grunwald 12e74daf48 Handle Comp in InferType(). 2018-10-14 18:09:28 +02:00
Siegfried Pammer 110d4592a6 Add delayed type inference step for stack slots (in RemoveDeadVariableInit). 2018-05-09 21:34:08 +02:00
Siegfried Pammer d2f2a13982 Add RemoveDeadCode option 2017-11-01 23:14:02 +01:00
Siegfried Pammer aa87169331 Clean up RemoveDeadVariableInit 2017-10-28 18:50:18 +02:00
Siegfried Pammer 9e2f98cb8d Improve RemoveDeadVariableInit and CopyPropagation 2017-10-28 18:28:03 +02:00
Daniel Grunwald 7d6122cfaf [async] Decompile await operator. 2017-09-04 20:49:45 +02:00
Daniel Grunwald a8adc83de4 Decompile object initializers more aggressively when the initialized object is stored in a stack slot. 2017-08-26 11:30:46 +02:00
Siegfried Pammer 058866ff15 Add support for value types (DefaultValue) to RemoveDeadVariableInit 2017-08-23 10:06:19 +02:00
Daniel Grunwald 2207ab40f7 Check the CancellationToken a bit more frequently. 2017-08-22 22:24:16 +02:00
Daniel Grunwald 9fa6009c44 Remove dead compiler-generated 'V = null;' assignments. 2017-08-19 20:03:21 +02:00
Siegfried Pammer 840ec04fde Namespace adjustments for Syntax classes 2016-11-26 12:06:58 +01:00
Siegfried Pammer 8d96a72b3c Add back RemoveDeadVariableInit 2016-07-03 16:19:15 +09:00
Daniel Grunwald ec226b0006 Add ILAst folding and remove unused RemoveDeadVariableInit transform. 2016-06-26 16:57:09 +02:00
Daniel Grunwald f5e66ff623 Extract reusable DataFlowVisitor from ReachingDefinitions; and add ILVariable.HasInitialValue. 2016-06-18 02:45:53 +02:00