| 572 | } |
| 573 | |
| 574 | instruction_ref module::add_return(std::vector<instruction_ref> args) |
| 575 | { |
| 576 | shape instr_shape = compute_shape(builtin::returns{}, args); |
| 577 | impl->push_back({builtin::returns{}, instr_shape, std::move(args)}); |
| 578 | auto result = std::prev(impl->instructions.end()); |
| 579 | instruction::backreference(result); |
| 580 | assert(result->valid(begin())); |
| 581 | return result; |
| 582 | } |
| 583 | |
| 584 | instruction_ref module::insert_literal(instruction_ref ins, literal l) |
| 585 | { |
no test coverage detected