Undo dup fix
This commit is contained in:
parent
948d5c1744
commit
9df4a6c9d2
|
@ -377,11 +377,6 @@ namespace de4dot.blocks.cflow {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void calculateStackUsage(Instruction instr, bool methodHasReturnValue, out int pushes, out int pops) {
|
static void calculateStackUsage(Instruction instr, bool methodHasReturnValue, out int pushes, out int pops) {
|
||||||
if (instr.OpCode.Code == Code.Dup) {
|
|
||||||
pushes = 1;
|
|
||||||
pops = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
DotNetUtils.calculateStackUsage(instr, false, out pushes, out pops);
|
DotNetUtils.calculateStackUsage(instr, false, out pushes, out pops);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user