diff --git a/crates/noirc_evaluator/src/ssa/node.rs b/crates/noirc_evaluator/src/ssa/node.rs index 42faf5932d1..486edc38c44 100644 --- a/crates/noirc_evaluator/src/ssa/node.rs +++ b/crates/noirc_evaluator/src/ssa/node.rs @@ -255,13 +255,6 @@ impl ObjectType { } } - pub fn type_to_pointer(&self) -> ArrayId { - match self { - ObjectType::Pointer(a) => *a, - _ => unreachable!("Type is not a pointer",), - } - } - pub fn field_to_type(&self, f: FieldElement) -> FieldElement { match self { ObjectType::NotAnObject | ObjectType::Pointer(_) => {