add a simple version of dead code detection: dead store