Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/mv/ssa-globals-1' into mv/ssa-gl…
Browse files Browse the repository at this point in the history
…obals-1
  • Loading branch information
vezenovm committed Jan 8, 2025
2 parents 6823019 + 68ddd14 commit 73ceea5
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 73ceea5

Please sign in to comment.