Skip to content

Commit

Permalink
- WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
tgiphil committed May 10, 2024
1 parent e60ddc4 commit 6eb1c06
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ namespace Mosa.Compiler.Framework.Transforms.Optimizations.Manual.NonSSA;

public abstract class BaseNonSA : BaseTransform
{
public BaseNonSA(BaseInstruction instruction, TransformType type, int priority = -50, bool log = false)
: base(instruction, type, priority, log)
{ }

public BaseNonSA(BaseInstruction instruction, TransformType type, bool log = false)
: base(instruction, type, log)
: base(instruction, type, -50, log)
{ }

protected static Node FindNextUsed(Node start, Operand target, Operand replacement, int window)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright (c) MOSA Project. Licensed under the New BSD License.

using System.Diagnostics;

namespace Mosa.Compiler.Framework.Transforms.Optimizations.Manual.NonSSA;

public sealed class Move32NotUsed : BaseNonSA
Expand Down

0 comments on commit 6eb1c06

Please sign in to comment.