diff options
Diffstat (limited to 'src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs')
-rw-r--r-- | src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs index af38e11d6..feca8b45e 100644 --- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs +++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ISymbolNode.cs @@ -32,13 +32,19 @@ namespace ILCompiler.DependencyAnalysis bool RepresentsIndirectionCell { get; } } + /// <summary> + /// Represents a symbol backed by a different symbol for object emission purposes. + /// </summary> + public interface ISymbolNodeWithLinkage : ISymbolNode + { + /// <summary> + /// Return a node that is used for linkage + /// </summary> + ISymbolNode NodeForLinkage(NodeFactory factory); + } - public interface ISortableSymbolNode : ISymbolNode + public interface ISortableSymbolNode : ISymbolNode, ISortableNode { -#if !SUPPORT_JIT - int ClassCode { get; } - int CompareToImpl(ISortableSymbolNode other, CompilerComparer comparer); -#endif } |