Skip to content

Commit

Permalink
Update compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
vezenovm authored Jan 8, 2025
1 parent 7744179 commit 68ddd14
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions compiler/noirc_evaluator/src/ssa/ssa_gen/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,6 @@ impl GlobalsContext {
let typ = FunctionContext::convert_type(&array.typ).flatten();
Ok(match array.typ {
ast::Type::Slice(_) => {
// let slice_length =
// self.builder.length_constant(array.contents.len() as u128);
let slice_length = self
.dfg
.make_constant(array.contents.len().into(), NumericType::length_type());
Expand Down

0 comments on commit 68ddd14

Please sign in to comment.