Calli pops the func ptr
This commit is contained in:
parent
043730e599
commit
2bf60b17b0
|
@ -768,6 +768,8 @@ namespace de4dot.blocks {
|
||||||
pops += method.Parameters.Count;
|
pops += method.Parameters.Count;
|
||||||
if (implicitThis && instr.OpCode.Code != Code.Newobj)
|
if (implicitThis && instr.OpCode.Code != Code.Newobj)
|
||||||
pops++;
|
pops++;
|
||||||
|
if (instr.OpCode.Code == Code.Calli)
|
||||||
|
pops++;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sets pops to -1 if the stack is supposed to be cleared
|
// Sets pops to -1 if the stack is supposed to be cleared
|
||||||
|
|
Loading…
Reference in New Issue
Block a user