update funcinfocounter for local vars