cairo_lang_lowering

Module destructs

Source
Expand description

This module implements the destructor call addition.

It is assumed to run after the panic phase. This is similar to the borrow checking algorithm, except we handle “undroppable drops” by adding destructor calls.

Structs§

Enums§

  • Location where a Panic is first available.
  • A state saved for each position in the back analysis. Used to determine if a Panic object is guaranteed to exist or be created, an where.

Functions§

Type Aliases§