Function sway_core::ast_to_asm
source · pub fn ast_to_asm(
engines: Engines<'_>,
ast_res: &CompileResult<TyProgram>,
build_config: &BuildConfig
) -> CompileResult<CompiledAsm>
Expand description
Given an AST compilation result,
try compiling to a CompiledAsm
,
containing the asm in opcode form (not raw bytes/bytecode).