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/ObjectDataBuilder.cs')
-rw-r--r--src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectDataBuilder.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectDataBuilder.cs b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectDataBuilder.cs
index b42c3e382..29fc23f98 100644
--- a/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectDataBuilder.cs
+++ b/src/ILCompiler.Compiler/src/Compiler/DependencyAnalysis/ObjectDataBuilder.cs
@@ -5,7 +5,6 @@
using System;
using System.Collections.Generic;
using Internal.TypeSystem;
-using Internal.Runtime;
using Debug = System.Diagnostics.Debug;
@@ -293,20 +292,6 @@ namespace ILCompiler.DependencyAnalysis
EmitReloc(symbol, (_target.PointerSize == 8) ? RelocType.IMAGE_REL_BASED_DIR64 : RelocType.IMAGE_REL_BASED_HIGHLOW, delta);
}
- /// <summary>
- /// Use this api to generate a reloc to a symbol that may be an indirection cell or not as a pointer
- /// </summary>
- /// <param name="symbol">symbol to reference</param>
- /// <param name="indirectionBit">value to OR in to the reloc to represent to runtime code that this pointer is an indirection. Defaults to IndirectionConstants.IndirectionCellPointer</param>
- /// <param name="delta">Delta from symbol start for value</param>
- public void EmitPointerRelocOrIndirectionReference(ISymbolNode symbol, int indirectionBit = IndirectionConstants.IndirectionCellPointer, int delta = 0)
- {
- if (symbol.RepresentsIndirectionCell)
- delta |= indirectionBit;
-
- EmitReloc(symbol, (_target.PointerSize == 8) ? RelocType.IMAGE_REL_BASED_DIR64 : RelocType.IMAGE_REL_BASED_HIGHLOW, delta);
- }
-
public ObjectNode.ObjectData ToObjectData()
{
#if DEBUG