Dead code elimination