Expand description
Code generation library for zink.
Modules§
- asm 🔒Low level assembler implementation for EVM.
- Backtrace support for the code generation.
- codegen 🔒Code generators
- control 🔒Data structures for control flow emission.
- jump 🔒Jump table implementation.
- local 🔒WASM local slot.
- masm 🔒MacroAssembler used by the code generation.
- result 🔒Codegen results
- Pre-visitor for parsing WASM.
- visitor 🔒This module is the central place for machine code emission.
- WASM related primitives.
Structs§
- Low level assembler implementation for EVM.
- Code section for EVM.
- Contract constructor.
- The control stack.
- Holds the necessary metadata to support the smission of control flow instructions.
- Code generator for EVM dispatcher.
- The code generation abstraction.
- Jump table implementation.
- A local slot.
- Solidity’s implementation uses 16 slots for locals. ref: https://docs.soliditylang.org/en/v0.8.20/internals/optimizer.html#stackcompressor
- EVM MacroAssembler.
Enums§
- The type of the control stack frame.
- Codegen error
Constants§
- Maximum size of a evm bytecode in bytes.
Type Aliases§
- Code generation buffer.
- Codegen result