155 Commits (680d7a413e04b9c67272816fd904af4f59360ec4)

Author SHA1 Message Date
Daniel Grunwald 680d7a413e Fix exception in type substitution when accessing multidimensional arrays that have a type parameter as element type. Closes #43. 15 years ago
Daniel Grunwald ef5ef62adc Fix typo in type inference for BrLogicAnd/BrLogicOr. 15 years ago
David Srbecký 8de27deb9e Reduced the complexity of short-circuit detection to polynomial time. 15 years ago
Daniel Grunwald e8f3e14102 Fix bugs in type analysis. Closes #38. 15 years ago
Daniel Grunwald 9971c664d7 Add tests for method ending with finally block/catch handler. 15 years ago
pentp c61d3b3ab2 Fix for handler blocks ending at method body end 15 years ago
David Srbecký 89c7a8a5b4 Keep track of the original variable for ILVariable 15 years ago
David Srbecký 022111fa9f Fixed bug that might have caused some code to be duplicated 15 years ago
David Srbecký 18aea29eae Split local variables by their live ranges 15 years ago
David Srbecký 994a215963 Data-flow analysis in ILAstBuilder 15 years ago
Daniel Grunwald db0c6a7086 Preserve annotations when declaring local variables. 15 years ago
Daniel Grunwald d07a28093d Pass field names through CleanUpVariableName before using them as variable names. 15 years ago
Daniel Grunwald e31a89689d Add support for char literals. 15 years ago
Daniel Grunwald e8f9febcc0 Replace 'i += 1' with 'i++'. Closes #33. 15 years ago
Daniel Grunwald eeaabc3c4e Add support for the stind and ldind opcodes. Closes #23. 15 years ago
Daniel Grunwald 254b10b6e3 Add support for initobj, ldobj and stobj. Closes #30. 15 years ago
Daniel Grunwald 75cb96fbda Don't use indexer name as variable name. 15 years ago
Daniel Grunwald b9808b13bb Add support for calling indexers. Closes #31. 15 years ago
Daniel Grunwald f0fc66bff6 Avoid using equality operator on TypeReferences; Cecil does not guarantee that there is only one instance for a type. 15 years ago
Daniel Grunwald 72bb24167e Use ILCode instead of Code in type analysis. 15 years ago
Daniel Grunwald b7ea33b8ac Don't inline stloc instructions. 15 years ago
Daniel Grunwald 64b116cf94 Fix test runner diff output. Closes #25. 15 years ago
Daniel Grunwald d758ba1ef7 Use extern modifier for non-abstract methods that don't have a body. Closes #21. 15 years ago
Daniel Grunwald 91b33889e4 Ignore conv_* opcodes in AstMethodBodyBuilder; insert casts based on inferred types instead. 15 years ago
Daniel Grunwald 66e2134072 TypeAnalysis: Make type analysis store both the inferred type and the expected type in each ILExpression. 15 years ago
David Srbecký 0f612300a5 Added the test program for ILAst building 15 years ago
Daniel Grunwald d5dcfea7e2 Add pattern for "for" loops. Closes #4. 15 years ago
Daniel Grunwald 3177b969e5 Fix foreach pattern. Closes #16. 15 years ago
Daniel Grunwald 01cc3ecd38 Implement pattern matching for statements. 15 years ago
David Srbecký 021b923036 Fixed analysis for prefixed bytecodes - Closes #22 15 years ago
David Srbecký b4c2b3f92a Determine loop condition from CFG 15 years ago
Daniel Grunwald b388bfefc9 Rename UsingStatementTransform to PatternStatementTransform. 15 years ago
Daniel Grunwald e7efab1f5b Add foreach pattern. Closes #16. 15 years ago
Daniel Grunwald ecd8bc7cce Store prefixes with their parent instruction in ILAst; make use of 'constrained' prefix in type analysis. 15 years ago
Daniel Grunwald 8d9076365c Make using statement work if there are variables declared between the initializer and the try block. 15 years ago
Daniel Grunwald 7ca8e36f15 Fixed handling of enum literals. 15 years ago
Daniel Grunwald 5b8600192e Output type parameters on type and method declarations. Closes #19. 15 years ago
Daniel Grunwald d67db5f38b Use shorter syntax for field references in ILAst output. 15 years ago
Daniel Grunwald d1efa9387e Fix stloc type analysis. 15 years ago
Daniel Grunwald 2d69b94494 Don't declare variables within anonymous methods if they are supposed to be declared outside. 15 years ago
Daniel Grunwald 9efe55a758 Fixed type analysis with generic types. 15 years ago
David Srbecký 77d1f62356 Threat stloc as expression that returns value (the stored value) 15 years ago
Daniel Grunwald bf7fe3f33c Bugfix: Crash in type analysis when trying to infer the type of an arg_*-variable that was consumed by a pop instruction. 15 years ago
David Srbecký 7c4111267a Support for short circuit conditional operators (&& and ||) 15 years ago
Daniel Grunwald 27334cdbc8 Declare variables in the correct location. 15 years ago
Daniel Grunwald 83eda6157a Use pattern matching in delegate construction. 15 years ago
Daniel Grunwald a61a4c2245 Infer types for the temporary variables introduced in ILAst. 15 years ago
Daniel Grunwald a9416f2f31 Add support for starg, box and unbox instructions. Closes #6. 15 years ago
Daniel Grunwald 275f0f6d21 Implemented "Save Assembly as C# Project" 15 years ago
Daniel Grunwald 8dadc50191 Add some improvements to pattern matching. 15 years ago