Browse Source

Update ILSpy.ReadyToRun/ReadyToRunLanguage.cs

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

4
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})");
@ -313,4 +313,4 @@ namespace ICSharpCode.ILSpy.ReadyToRun @@ -313,4 +313,4 @@ namespace ICSharpCode.ILSpy.ReadyToRun
public Dictionary<EntityHandle, ReadyToRunMethod[]> methodMap;
}
}
}
}

Loading…
Cancel
Save