Skip to main content

Module lower

Module lower 

Source
Expand description

HIR to MIR lowering.

This module transforms the high-level IR from solar-sema into MIR.

Structs§

LoopContext
Context for a loop (tracks break/continue targets).
Lowerer
Lowering context for converting HIR to MIR.

Functions§

contract_bytecode_dependencies
Returns contracts whose creation bytecode is referenced by contract_id.
lower_contract
Lowers a contract from HIR to MIR.
lower_contract_with_bytecodes
Lowers a contract from HIR to MIR with pre-compiled bytecodes available for new expressions.