Skip to main content

luaur_code_gen/methods/
const_prop_state_invalidate_user_call.rs

1use crate::records::const_prop_state::ConstPropState;
2
3impl ConstPropState {
4    pub fn invalidate_user_call(&mut self) {
5        self.invalidate_heap();
6        self.invalidate_captured_registers();
7        self.invalidate_value_propagation();
8
9        self.in_safe_env = false;
10    }
11}
12
13#[allow(non_snake_case)]
14pub fn const_prop_state_invalidate_user_call(this: &mut ConstPropState) {
15    this.invalidate_user_call();
16}