| 1209 | } |
| 1210 | |
| 1211 | static unique_ptr<Instr> parse_copyop(string_view name, token t) { |
| 1212 | tokenizer.unget(t); |
| 1213 | auto &ty = parse_type(); |
| 1214 | auto &op = parse_operand(ty); |
| 1215 | return make_unique<UnaryOp>(ty, string(name), op, UnaryOp::Copy); |
| 1216 | } |
| 1217 | |
| 1218 | static unique_ptr<Instr> parse_instr(string_view name) { |
| 1219 | switch (auto t = *tokenizer) { |