Skip to content

Commit ca552c9

Browse files
committed
drop 2 todos
1 parent 601f682 commit ca552c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/FastExpressionCompiler/FastExpressionCompiler.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2673,7 +2673,7 @@ private static int EmitNullableVarAddressAndHasValue(ILGenerator il, Type type)
26732673

26742674
private static bool TryEmitCoalesceOperator(BinaryExpression expr, ILGenerator il, ref CompilerContext context, ParentFlags parent)
26752675
{
2676-
var labelFalse = il.DefineLabel(); // todo: @perf define only if needed
2676+
var labelFalse = il.DefineLabel();
26772677
var labelDone = il.DefineLabel();
26782678

26792679
var left = expr.Left;
@@ -3795,7 +3795,7 @@ public static bool TryEmitPrimitiveOrEnumOrDecimalConstant(ILGenerator il, objec
37953795
switch (Type.GetTypeCode(constType))
37963796
{
37973797
case TypeCode.Boolean:
3798-
il.Demit((bool)constValue ? OpCodes.Ldc_I4_1 : OpCodes.Ldc_I4_0); // todo: @perf check for LightExpression
3798+
il.Demit((bool)constValue ? OpCodes.Ldc_I4_1 : OpCodes.Ldc_I4_0);
37993799
break;
38003800
case TypeCode.Char:
38013801
EmitLoadConstantInt(il, (char)constValue);

0 commit comments

Comments
 (0)