Function sway_core::asm_to_bytecode

source ยท
pub fn asm_to_bytecode(
    handler: &Handler,
    asm: CompiledAsm,
    source_map: &mut SourceMap,
    source_engine: &SourceEngine,
    build_config: &BuildConfig,
) -> Result<CompiledBytecode, ErrorEmitted>
Expand description

Given the assembly (opcodes), compile to CompiledBytecode, containing the asm in bytecode form.