Function sway_core::asm_to_bytecode

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

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