factor out pushFrame
factor out popFrame
cleanup invoke and move to VM