12 references to GetSize
ILCompiler.ReadyToRun (12)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (3)
897
uint relocLength = (uint)Relocation.
GetSize
(reloc.Type);
974
Span<byte> data = new byte[Relocation.
GetSize
(reloc.Type)];
982
stream.Write(new Span<byte>(data, Relocation.
GetSize
(reloc.Type)));
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmInstructions.cs (4)
338
return Relocation.
GetSize
(_relocType);
344
int relocSize = Relocation.
GetSize
(_relocType);
465
return base.EncodeSize() + Relocation.
GetSize
(RelocType.WASM_TYPE_INDEX_LEB) + (int)tableSize;
471
int relocSize = Relocation.
GetSize
(RelocType.WASM_TYPE_INDEX_LEB);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WebCilObjectWriter.cs (5)
659
blobShrink[b] += (int)Relocation.
GetSize
(curReloc.Type) - size;
661
long nextStart = curReloc.Offset + Relocation.
GetSize
(curReloc.Type);
739
int size = Relocation.
GetSize
(reloc.Type);
770
int relocLength = Relocation.
GetSize
(reloc.Type);
902
Span<byte> relocContents = buffer.AsSpan(0, Relocation.
GetSize
(reloc.Type));