Skip to main content

Module monomorphization

Module monomorphization 

Source
Expand description

Monomorphization of mir, which is used in mir interpreter and const eval.

The job of monomorphization is:

  • Monomorphization. That is, replacing Option<T> with Option<i32> where T:=i32 substitution is provided
  • Normalizing types, for example replacing RPIT of other functions called in this body.

So the monomorphization should be called even if the substitution is empty.

Structsยง

Filler ๐Ÿ”’

Functionsยง

monomorphized_mir_body_cycle_result ๐Ÿ”’
monomorphized_mir_body_for_closure_cycle_result ๐Ÿ”’
monomorphized_mir_body_for_closure_query
monomorphized_mir_body_query