Browse Source

Fix dead code introduced by wrong merge.

pull/863/head
Siegfried Pammer 8 years ago
parent
commit
83fb9061b7
  1. 2
      ICSharpCode.Decompiler/IL/ILReader.cs

2
ICSharpCode.Decompiler/IL/ILReader.cs

@ -219,7 +219,7 @@ namespace ICSharpCode.Decompiler.IL @@ -219,7 +219,7 @@ namespace ICSharpCode.Decompiler.IL
// Fill isBranchTarget and branchStackDict based on exception handlers
foreach (var eh in body.ExceptionHandlers) {
ImmutableStack<ILVariable> ehStack = null;
if (eh.HandlerType == Cil.ExceptionHandlerType.Catch || eh.HandlerType == Cil.ExceptionHandlerType.Filter) {
if (eh.HandlerType == Cil.ExceptionHandlerType.Catch) {
var v = new ILVariable(VariableKind.Exception, typeSystem.Resolve(eh.CatchType), eh.HandlerStart.Offset) {
Name = "E_" + eh.HandlerStart.Offset
};

Loading…
Cancel
Save