diff --git a/Confuser.Protections/ControlFlow/SwitchMangler.cs b/Confuser.Protections/ControlFlow/SwitchMangler.cs index 7c0807556..e7ebd7ae8 100644 --- a/Confuser.Protections/ControlFlow/SwitchMangler.cs +++ b/Confuser.Protections/ControlFlow/SwitchMangler.cs @@ -132,16 +132,15 @@ LinkedList SpiltStatements(InstrBlock block, Trace trace, CFConte case FlowControl.Cond_Branch: case FlowControl.Return: case FlowControl.Throw: + shouldSpilt = true; if (trace.AfterStack[instr.Offset] != 0) { if (instr.Operand is Instruction) requiredInstr.Add((Instruction)instr.Operand); else if (instr.Operand is Instruction[]) { foreach (var target in (Instruction[])instr.Operand) requiredInstr.Add(target); - shouldSpilt = false; } } - shouldSpilt = true; break; } requiredInstr.Remove(instr);