implement pass pretty-printer
add static pass number when printing passes