Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs
index 357dde0fe..80c497e2c 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ThreadStaticsNode.cs
@@ -20,7 +20,7 @@ namespace ILCompiler.DependencyAnalysis
public ThreadStaticsNode(MetadataType type, NodeFactory factory)
{
- Debug.Assert(factory.Target.Abi == TargetAbi.CoreRT);
+ Debug.Assert(factory.Target.Abi == TargetAbi.CoreRT || factory.Target.Abi == TargetAbi.CppCodegen);
_type = type;
}
@@ -76,9 +76,9 @@ namespace ILCompiler.DependencyAnalysis
builder.EmitPointerReloc(GetGCStaticEETypeNode(factory));
}
- protected internal override int ClassCode => 2091208431;
+ public override int ClassCode => 2091208431;
- protected internal override int CompareToImpl(SortableDependencyNode other, CompilerComparer comparer)
+ public override int CompareToImpl(ISortableNode other, CompilerComparer comparer)
{
return comparer.Compare(_type, ((ThreadStaticsNode)other)._type);
}