Calli pops the func ptr

This commit is contained in:
de4dot 2012-04-11 20:02:15 +02:00
parent 043730e599
commit 2bf60b17b0

View File

@ -768,6 +768,8 @@ namespace de4dot.blocks {
pops += method.Parameters.Count;
if (implicitThis && instr.OpCode.Code != Code.Newobj)
pops++;
if (instr.OpCode.Code == Code.Calli)
pops++;
}
// Sets pops to -1 if the stack is supposed to be cleared