fn emit_data_invariant_for_temp(&mut self, deep: bool, kind: PropKind, temp: TempIndex) {
        let temp_exp = self.builder.mk_temporary(temp);
        for (loc, inv) in self.translate_invariant(deep, temp_exp) {
            self.builder.set_next_debug_comment(format!(
                "data invariant {}",
                loc.display(self.builder.global_env())
            ));
            if kind == PropKind::Assert {
                self.builder
                    .set_loc_and_vc_info(loc, INVARIANT_FAILS_MESSAGE);
            }
            self.builder.emit_with(|id| Bytecode::Prop(id, kind, inv));
        }
    }
/// Emits a data invariant, shallow or deep, assume or assert, for the value in temporary.
Emits a data invariant, shallow or deep, assume or assert, for the value in temporary.
Emits a data invariant shallow or deep assume or assert for the value in temporary .
fn emit_data_invariant_for_temp(&mut self, deep: bool, kind: PropKind, temp: TempIndex) {
        let temp_exp = self.builder.mk_temporary(temp);
        for (loc, inv) in self.translate_invariant(deep, temp_exp) {
            self.builder.set_next_debug_comment(format!(
                "data invariant {}",
                loc.display(self.builder.global_env())
            ));
            if kind == PropKind::Assert {
                self.builder
                    .set_loc_and_vc_info(loc, INVARIANT_FAILS_MESSAGE);
            }
            self.builder.emit_with(|id| Bytecode::Prop(id, kind, inv));
        }
    }
fn emit_data_invariant_for_temp ( & mut self , deep : bool , kind : PropKind , temp : TempIndex ) { let temp_exp = self . builder . mk_temporary ( temp ) ; for ( loc , inv ) in self . translate_invariant ( deep , temp_exp ) { self . builder . set_next_debug_comment ( format ! ( " " loc display ( self builder global_env ( ) ) ) ) ; if kind == PropKind :: Assert { self . builder . set_loc_and_vc_info ( loc , INVARIANT_FAILS_MESSAGE ) ; } self . builder . emit_with ( | id | Bytecode :: Prop ( id , kind , inv ) ) ; } }
Emits a data invariant, shallow or deep, assume or assert, for the value in temporary.
Emits a data invariant shallow or deep assume or assert for the value in temporary .
&mut self
deep
bool
kind
PropKind
temp
TempIndex