Expand description
Code generation library for zink.
Modules§
- asm πLow level assembler implementation for EVM.
- backtrace π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
- validator π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.
- Initial storage of contracts
- Codegen result