Returns true iff every instruction is well-formed. */
| 108 | |
| 109 | /** Returns true iff every instruction is well-formed. */ |
| 110 | bool check() const { |
| 111 | for (const auto & i : *this) |
| 112 | if (!i.check()) { |
| 113 | return false; |
| 114 | } |
| 115 | return true; |
| 116 | } |
| 117 | |
| 118 | /** Reads a code sequence in at&t syntax from an istream. */ |
| 119 | std::istream& read_att(std::istream& is); |
nothing calls this directly
no outgoing calls
no test coverage detected