sway_core

Module asm_generation

Source

Re-exports§

pub use abi::*;
pub use evm::*;

Modules§

abi
asm_builder
evm
from_ir
fuel
instruction_set

Structs§

AsmInformation
Represents an ASM set which has had register allocation, jump elimination, and optimization applied to it
CompiledBytecode
The bytecode for a sway program as well as the byte offsets of configuration-time constants in the bytecode.
DataSectionInformation
Entry
FinalizedAsm
Represents an ASM set which has had register allocation, jump elimination, and optimization applied to it
FinalizedEntry

Enums§

Datum
ProgramKind

Functions§

check_invalid_opcodes
Checks for disallowed opcodes in non-contract code. i.e., if this is a script or predicate, we can’t use certain contract opcodes. See https://github.com/FuelLabs/sway/issues/350 for details.