Clean up some dbg calls

This commit is contained in:
Richard Feldman 2021-04-11 09:41:18 -04:00
parent 5116a99ddd
commit ab7d2d5912
3 changed files with 3 additions and 5 deletions

View file

@ -204,7 +204,6 @@ fn jit_to_ast_help<'a>(
// skip forward to the start of the first element, ignoring the tag id
let ptr = ptr.offset(8);
dbg!(&variables, &arg_layouts);
let it = variables.iter().copied().zip(&arg_layouts[1..]);
let output = sequence_of_expr(env, ptr, it);
let output = output.into_bump_slice();

View file

@ -2648,7 +2648,6 @@ fn build_switch_ir<'a, 'ctx, 'env>(
}
_ => {
dbg!(branches);
unreachable!()
}
}

View file

@ -3391,12 +3391,12 @@ mod test_parse {
let parser = module_defs();
let parsed = parser.parse(arena, state);
match parsed {
Ok((_, _, state)) => {
dbg!(state);
Ok((_, _, _state)) => {
// dbg!(_state);
return;
}
Err((_, _fail, _state)) => {
dbg!(_fail, _state);
// dbg!(_fail, _state);
assert!(false);
}
}