Function sway_core::ast_to_asm
source · pub fn ast_to_asm(
engines: &Engines,
ast_res: &CompileResult<Programs>,
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).