diff --git a/src/mir/builder/binding_context.rs b/src/mir/builder/binding_context.rs index 80861e2b..ed46eabd 100644 --- a/src/mir/builder/binding_context.rs +++ b/src/mir/builder/binding_context.rs @@ -73,24 +73,12 @@ impl BindingContext { } /// Get immutable reference to the binding map (for BindingMapProvider) - pub fn binding_map(&self) -> &BTreeMap { + /// Phase 136: Used only with normalized_dev feature + #[cfg(feature = "normalized_dev")] + pub(super) fn binding_map(&self) -> &BTreeMap { &self.binding_map } - /// Check if a variable has a binding - pub fn contains(&self, name: &str) -> bool { - self.binding_map.contains_key(name) - } - - /// Get the number of bindings - pub fn len(&self) -> usize { - self.binding_map.len() - } - - /// Check if there are no bindings - pub fn is_empty(&self) -> bool { - self.binding_map.is_empty() - } } #[cfg(test)]