We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f3cef5b + 5e0d476 commit 17c64ffCopy full SHA for 17c64ff
src/jit/compiler.cpp
@@ -534,7 +534,7 @@ bool Compiler::isSingleFloat32Struct(CORINFO_CLASS_HANDLE clsHnd)
534
for (;;)
535
{
536
// all of class chain must be of value type and must have only one field
537
- if (!info.compCompHnd->isValueClass(clsHnd) && info.compCompHnd->getClassNumInstanceFields(clsHnd) != 1)
+ if (!info.compCompHnd->isValueClass(clsHnd) || info.compCompHnd->getClassNumInstanceFields(clsHnd) != 1)
538
539
return false;
540
}
0 commit comments