From c58dfa952ff9ed0efa446ad5699c09a94bff4d8d Mon Sep 17 00:00:00 2001 From: Vlad Taranov Date: Sun, 6 Mar 2016 12:13:33 +0200 Subject: [PATCH] trivia --- RunSharpShared/Aqla/ContextualAssignment.cs | 2 +- RunSharpShared/Operands/Assignment.cs | 2 +- RunSharpShared/Operands/IAssignmentInternal.cs | 7 ------- RunSharpShared/RunSharpShared.projitems | 1 - RunSharpShared/SignatureGen.cs | 2 -- 5 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 RunSharpShared/Operands/IAssignmentInternal.cs diff --git a/RunSharpShared/Aqla/ContextualAssignment.cs b/RunSharpShared/Aqla/ContextualAssignment.cs index e2d6dda..d9ca629 100644 --- a/RunSharpShared/Aqla/ContextualAssignment.cs +++ b/RunSharpShared/Aqla/ContextualAssignment.cs @@ -45,7 +45,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. namespace TriAxis.RunSharp.Operands { - public class ContextualAssignment : ContextualOperand, IAssignmentInternal + public class ContextualAssignment : ContextualOperand, IAssignment { protected override void ResetLeakedStateRecursively() { diff --git a/RunSharpShared/Operands/Assignment.cs b/RunSharpShared/Operands/Assignment.cs index 2d2dd29..274d70b 100644 --- a/RunSharpShared/Operands/Assignment.cs +++ b/RunSharpShared/Operands/Assignment.cs @@ -43,7 +43,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. namespace TriAxis.RunSharp.Operands { - public class Assignment : Operand, IAssignmentInternal + public class Assignment : Operand, IAssignment { protected override bool DetectsLeaking => false; diff --git a/RunSharpShared/Operands/IAssignmentInternal.cs b/RunSharpShared/Operands/IAssignmentInternal.cs deleted file mode 100644 index a7ac3b4..0000000 --- a/RunSharpShared/Operands/IAssignmentInternal.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace TriAxis.RunSharp.Operands -{ - interface IAssignmentInternal : IAssignment - { - void Emit(CodeGen g); - } -} \ No newline at end of file diff --git a/RunSharpShared/RunSharpShared.projitems b/RunSharpShared/RunSharpShared.projitems index 8253a3f..0d957fc 100644 --- a/RunSharpShared/RunSharpShared.projitems +++ b/RunSharpShared/RunSharpShared.projitems @@ -56,7 +56,6 @@ - diff --git a/RunSharpShared/SignatureGen.cs b/RunSharpShared/SignatureGen.cs index 1e79327..12f2e96 100644 --- a/RunSharpShared/SignatureGen.cs +++ b/RunSharpShared/SignatureGen.cs @@ -52,14 +52,12 @@ public interface ISignatureGen public abstract class SignatureGen : MemberGenBase, ISignatureGen where T : SignatureGen { - public ITypeMapper TypeMapper { get; } readonly ParameterGenCollection _parameters; internal readonly T TypedThis; internal SignatureGen(Type returnType, ITypeMapper typeMapper) : base(typeMapper) { - TypeMapper = typeMapper; _parameters = new ParameterGenCollection(typeMapper); TypedThis = (T)this; if (returnType != null)