Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update ILSpy.ReadyToRun/ReadyToRunLanguage.cs
Change how it handle's unexpected var loc types.

Co-authored-by: Siegfried Pammer <[email protected]>
  • Loading branch information
edkazcarlson and siegfriedpammer authored Aug 8, 2020
commit eabe8f96357c6439b533da88afcd81984230ddbf
2 changes: 1 addition & 1 deletion ILSpy.ReadyToRun/ReadyToRunLanguage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public override void WriteCommentLine(ITextOutput output, string comment)
output.WriteLine($" Offset: {DebugInfo.GetPlatformSpecificRegister(debugInfo.Machine, varLoc.VariableLocation.Data1)}");
break;
default:
throw new BadImageFormatException("Unexpected variable type");
output.WriteLine("WRN: Unexpected variable location type");
}
output.WriteLine("");
}
Expand Down