Skip to content

Commit

Permalink
removing uncecessary log
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Aug 4, 2024
1 parent bd38195 commit 11c96d3
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions sway-core/src/ir_generation/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2339,23 +2339,6 @@ impl<'eng> FnCompiler<'eng> {
self.compile_expression_to_value(context, md_mgr, end)?
);

let return_type = Type::get_unit(context);
self.current_block.append(context).asm_block(
vec![
AsmArg {
name: Ident::new_no_span("end".into()),
initializer: Some(end),
},
AsmArg {
name: Ident::new_no_span("start".into()),
initializer: Some(start),
},
],
vec![AsmInstruction::log_no_span("end", "start", "end", "start")],
return_type,
None,
);

let slice_len = self
.current_block
.append(context)
Expand Down

0 comments on commit 11c96d3

Please sign in to comment.