From 2d6ac0c2f8b57b3b576a5be0ce774623229e7e4e Mon Sep 17 00:00:00 2001 From: Seyon Sivarajah Date: Wed, 11 Dec 2024 15:51:35 +0000 Subject: [PATCH] remove comments and print Co-authored-by: Douglas Wilson <141026920+doug-q@users.noreply.github.com> --- hugr-llvm/src/emit/ops.rs | 2 -- hugr-llvm/src/emit/test.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/hugr-llvm/src/emit/ops.rs b/hugr-llvm/src/emit/ops.rs index d84b62ba6..3989ecd4b 100644 --- a/hugr-llvm/src/emit/ops.rs +++ b/hugr-llvm/src/emit/ops.rs @@ -310,8 +310,6 @@ fn emit_tail_loop<'c, H: HugrView>( context: &mut EmitFuncContext<'c, '_, H>, args: EmitOpArgs<'c, '_, TailLoop, H>, ) -> Result<()> { - // TODO: Switch on the tag in loop_body to see where to go next - // TODO: Handle "other" args let node = args.node(); // Make a block to jump to when we `Break` diff --git a/hugr-llvm/src/emit/test.rs b/hugr-llvm/src/emit/test.rs index 7c0156e76..40e42d70b 100644 --- a/hugr-llvm/src/emit/test.rs +++ b/hugr-llvm/src/emit/test.rs @@ -716,7 +716,6 @@ mod test_fns { #[rstest] fn tail_loop(mut llvm_ctx: TestContext, #[with(3, 7)] terminal_loop: Hugr) { llvm_ctx.add_extensions(add_int_extensions); - println!("{}", terminal_loop.mermaid_string()); check_emission!(terminal_loop, llvm_ctx); }