Skip to content

Commit

Permalink
- Promotion Operand (to replace Type in future) (#1038)
Browse files Browse the repository at this point in the history
* - Promotion Operand (to replace Type in future)

* - WIP
  • Loading branch information
tgiphil committed Apr 9, 2023
1 parent 7ca4b1e commit de1d7c8
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 160 deletions.
4 changes: 2 additions & 2 deletions Source/Mosa.Compiler.Framework/InstructionNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ public override string ToString()
for (var i = 0; i < ResultCount; i++)
{
var op = GetResult(i);
sb.Append($" {(op == null ? "[NULL]" : op.ToString(false))},");
sb.Append($" {(op == null ? "[NULL]" : op.ToString())},");
}

if (ResultCount > 0)
Expand All @@ -839,7 +839,7 @@ public override string ToString()
for (var i = 0; i < OperandCount; i++)
{
var op = GetOperand(i);
sb.Append($" {(op == null ? "[NULL]" : op.ToString(false))},");
sb.Append($" {(op == null ? "[NULL]" : op.ToString())},");
}

if (OperandCount > 0)
Expand Down

0 comments on commit de1d7c8

Please sign in to comment.