Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ namespace ILCompiler.DependencyAnalysis
/// </summary>
public class WasmWellKnownGlobalSymbolNode(string symbolName) : ExternDataSymbolNode(new Utf8String(symbolName))
{
#if READYTORUN
public const string StackPointerName = "stackPointer";
public const string ImageBaseName = "imageBase";
public const string TableBaseName = "tableBase";
#else
public const string StackPointerName = "__stack_pointer";
public const string ImageBaseName = "__memory_base";
public const string TableBaseName = "__table_base";
#endif

public override int ClassCode => 0x79046cf9;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ private protected virtual void EmitReferencedMethod(Utf8String symbolName) { }
/// the order of the symbols so any necessary sorting is done when the
/// symbol table is created.
/// </remarks>
protected internal void EmitSymbolDefinition(
protected internal virtual void EmitSymbolDefinition(
int sectionIndex,
Utf8String symbolName,
long offset = 0,
Expand Down
Loading
Loading