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

◆ CompileUnliftedLogicalBinaryExpression()

void System.Linq.Expressions.Interpreter.LightCompiler.CompileUnliftedLogicalBinaryExpression ( BinaryExpression expr,
bool andAlso )
inlineprivate

Definition at line 1076 of file LightCompiler.cs.

1077 {
1078 BranchLabel branchLabel = _instructions.MakeLabel();
1079 BranchLabel label = _instructions.MakeLabel();
1080 Compile(expr.Left);
1081 if (andAlso)
1082 {
1084 }
1085 else
1086 {
1088 }
1089 Compile(expr.Right);
1094 }
void EmitBranch(OffsetInstruction instruction, BranchLabel label)
void Compile(Expression expr, bool asVoid)

References System.Linq.Expressions.Interpreter.LightCompiler._instructions, System.Linq.Expressions.Interpreter.LightCompiler.Compile(), System.Linq.Expressions.Interpreter.InstructionList.EmitBranch(), System.Linq.Expressions.Interpreter.InstructionList.EmitBranchFalse(), System.Linq.Expressions.Interpreter.InstructionList.EmitBranchTrue(), System.Linq.Expressions.Interpreter.InstructionList.EmitLoad(), System.Linq.Expressions.BinaryExpression.Left, System.Linq.Expressions.Interpreter.InstructionList.MakeLabel(), System.Linq.Expressions.Interpreter.InstructionList.MarkLabel(), and System.Linq.Expressions.BinaryExpression.Right.

Referenced by System.Linq.Expressions.Interpreter.LightCompiler.CompileLogicalBinaryExpression().