Skip to content

Commit 9128a1b

Browse files
catamorphismgraydon
authored andcommitted
rm unnecessary logging
1 parent 7e82f23 commit 9128a1b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/comp/middle/tstate/states.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -235,17 +235,9 @@ fn find_pre_post_state_expr(&fn_ctxt fcx, &prestate pres, @expr e) -> bool {
235235
/* if this is a failing call, it sets the return value */
236236
alt (controlflow_expr(fcx.ccx, operator)) {
237237
case (noreturn) {
238-
/*
239-
log_err("Call that might fail! to");
240-
log_expr_err(*operator);
241-
*/
242238
changed = gen_poststate(fcx, a, fcx.id) || changed;
243239
}
244-
case (_) {
245-
/* log_err("non-failing call, to:");
246-
log_expr_err(*operator);
247-
*/
248-
}
240+
case (_) { }
249241
}
250242
ret changed;
251243
}

0 commit comments

Comments
 (0)