| 442 | } |
| 443 | |
| 444 | static void debug_name(std::ostream& os, const instruction& ins) |
| 445 | { |
| 446 | if(ins.name() == "@literal") |
| 447 | { |
| 448 | os << "@literal"; |
| 449 | if(ins.get_literal().get_shape().elements() > 10) |
| 450 | os << "{ ... }"; |
| 451 | else |
| 452 | os << "{" << ins.get_literal() << "}"; |
| 453 | } |
| 454 | else |
| 455 | { |
| 456 | os << ins.get_operator(); |
| 457 | } |
| 458 | } |
| 459 | |
| 460 | void instruction::debug_print() const |
| 461 | { |
no test coverage detected