You've already forked linux-packaging-mono
Imported Upstream version 4.2.1.36
Former-commit-id: fb75898888a02f4d3a74cf0a5b841681bc4c7fa8
This commit is contained in:
committed by
Jo Shields
parent
9668de7cb8
commit
dd547c45d4
2
external/ikvm/runtime/intrinsics.cs
vendored
2
external/ikvm/runtime/intrinsics.cs
vendored
@@ -616,7 +616,7 @@ namespace IKVM.Internal
|
||||
{
|
||||
// it is only valid to replace a ThreadLocal instantiation by our ThreadStatic based version, if we can prove that the instantiation only happens once
|
||||
// (which is the case when we're in <clinit> and there aren't any branches that lead to the current position)
|
||||
if (eic.Caller.Name != StringConstants.CLINIT)
|
||||
if (!eic.Caller.IsClassInitializer)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user