Browse Source

Update ILSpy.ReadyToRun/ReadyToRunLanguage.cs

Co-authored-by: Andrew Au <cshung@gmail.com>
pull/2043/head
Edward Kazuya Carlson 6 years ago committed by GitHub
parent
commit
9af5a34991
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      ILSpy.ReadyToRun/ReadyToRunLanguage.cs

2
ILSpy.ReadyToRun/ReadyToRunLanguage.cs

@ -206,7 +206,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun @@ -206,7 +206,7 @@ namespace ICSharpCode.ILSpy.ReadyToRun
private static void DecorateUnwindInfo(ITextOutput output, Dictionary<ulong, UnwindCode> unwindInfo, ulong baseInstrIP, Instruction instr)
{
ulong nextInstructionOffset = instr.NextIP;
ulong nextInstructionOffset = instr.NextIP - baseInstrIP;
if (unwindInfo != null && unwindInfo.ContainsKey(nextInstructionOffset)) {
UnwindCode unwindCode = unwindInfo[nextInstructionOffset];
output.Write($" ; {unwindCode.UnwindOp}({unwindCode.OpInfoStr})");

Loading…
Cancel
Save