Function sway_core::asm_to_bytecode
source · [−]pub fn asm_to_bytecode(
asm_res: CompilationResult,
source_map: &mut SourceMap
) -> BytecodeCompilationResult
Expand description
Given a CompilationResult containing the assembly (opcodes), compile to a BytecodeCompilationResult which contains the asm in bytecode form.