diff --git a/src/coreclr/jit/compiler.cpp b/src/coreclr/jit/compiler.cpp index b61f75dd614a26..9b4923b4e0ac0b 100644 --- a/src/coreclr/jit/compiler.cpp +++ b/src/coreclr/jit/compiler.cpp @@ -9756,7 +9756,7 @@ bool Compiler::lvaIsOSRLocal(unsigned varNum) // var_types Compiler::gtTypeForNullCheck(GenTree* tree) { - if (varTypeIsIntegralOrI(tree)) + if (varTypeIsIntegral(tree)) { #if defined(TARGET_XARCH) // Just an optimization for XARCH - smaller mov