IR->SSM: "reset" function scope