added deadcode elimination for assignstatement
manually merged custat
debugging structure