diff --git a/src/coreclr/jit/importer.cpp b/src/coreclr/jit/importer.cpp index 4b556fa9634697..e1802c16acd991 100644 --- a/src/coreclr/jit/importer.cpp +++ b/src/coreclr/jit/importer.cpp @@ -7562,8 +7562,8 @@ void Compiler::impImportBlockCode(BasicBlock* block) case CEE_BRFALSE_S: /* Pop the comparand (now there's a neat term) from the stack */ + op1 = gtFoldExpr(impPopStack().val); - op1 = impPopStack().val; type = op1->TypeGet(); // Per Ecma-355, brfalse and brtrue are only specified for nint, ref, and byref.