MCPcopy Create free account
hub / github.com/StanfordPL/x64asm / check

Method check

src/code.h:110–116  ·  view source on GitHub ↗

Returns true iff every instruction is well-formed. */

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected