add command line for deadcode elimination; fix deadcode elimination bugs on lambda