Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ZeroCompare()

void System.Xml.Xsl.IlGen.XmlILVisitor.ZeroCompare ( QilNodeType relOp,
bool isBoolVal )
inlineprivate

Definition at line 2749 of file XmlILVisitor.cs.

2750 {
2752 {
2753 case BranchingContext.OnTrue:
2755 _iterCurr.Storage = StorageDescriptor.None();
2756 return;
2757 case BranchingContext.OnFalse:
2759 _iterCurr.Storage = StorageDescriptor.None();
2760 return;
2761 }
2762 if (!isBoolVal || relOp == QilNodeType.Eq)
2763 {
2767 }
2768 _iterCurr.Storage = StorageDescriptor.Stack(typeof(bool), isCached: false);
2769 }
static readonly OpCode Brfalse
Definition OpCodes.cs:117
static readonly OpCode Brtrue
Definition OpCodes.cs:119
void ConvBranchToBool(Label lblBranch, bool isTrueBranch)

References System.Reflection.Emit.OpCodes.Brfalse, System.Reflection.Emit.OpCodes.Brtrue, System.Xml.Dictionary, System.Xml.Xsl.IlGen.StorageDescriptor.None(), and System.Xml.Xsl.IlGen.StorageDescriptor.Stack().

Referenced by System.Xml.Xsl.IlGen.XmlILVisitor.Compare(), System.Xml.Xsl.IlGen.XmlILVisitor.MatchesNodeKinds(), System.Xml.Xsl.IlGen.XmlILVisitor.VisitIs(), and System.Xml.Xsl.IlGen.XmlILVisitor.VisitIsType().