| 1463 | return 4; |
| 1464 | } |
| 1465 | size_t Instruction::code_from_string( |
| 1466 | uint32_t *code, |
| 1467 | size_t buffsize, |
| 1468 | QString str, |
| 1469 | Address inst_addr, |
| 1470 | RelocExpressionList *reloc, |
| 1471 | const QString &filename, |
| 1472 | unsigned line, |
| 1473 | bool pseudoinst_enabled) { |
| 1474 | auto inst = TokenizedInstruction::from_line(std::move(str), inst_addr, filename, line); |
| 1475 | return Instruction::code_from_tokens(code, buffsize, inst, reloc, pseudoinst_enabled); |
| 1476 | } |
| 1477 | |
| 1478 | Instruction::ParseError::ParseError(QString message) : message(std::move(message)) {} |
| 1479 |
nothing calls this directly
no outgoing calls
no test coverage detected