bug fixes + generating PC/RETURNLOC in a flow graph