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.
1 parent 79ce959 commit 3cd91fbCopy full SHA for 3cd91fb
src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/DependencyAnalysis/ThreadStaticsNode.cs
@@ -61,7 +61,7 @@ private ISymbolNode GetGCStaticEETypeNode(NodeFactory factory)
61
_inlined.GetOffsets(),
62
_inlined.GetSize(),
63
factory.Target.PointerSize);
64
- bool requiresAlign8 = _type.ThreadGcStaticFieldAlignment.AsInt > factory.Target.PointerSize;
+ bool requiresAlign8 = _type is not null && _type.ThreadGcStaticFieldAlignment.AsInt > factory.Target.PointerSize;
65
66
return factory.GCStaticEEType(map, requiresAlign8);
67
}
0 commit comments