Skip to content

Commit

Permalink
use correct ILOpcode for compare equal
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruihan-Yin committed Jun 12, 2024
1 parent a1d8a65 commit ad4b0f9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static MethodIL EmitIsSupportedIL(MethodDesc method, FieldDesc isSupporte
codeStream.EmitLdc(flag);
codeStream.Emit(ILOpcode.and);
codeStream.EmitLdc(flag);
codeStream.Emit(ILOpcode.beq);
codeStream.Emit(ILOpcode.ceq);
codeStream.Emit(ILOpcode.ret);
}
else
Expand Down

0 comments on commit ad4b0f9

Please sign in to comment.