Example #1
0
 // Iterate `it` to the next instruction
 inline void _next(std::vector<bh_view>::const_iterator &it) {
     assert(it != end);
     while (++it != end and it->isConstant()) {}
 }
Example #2
0
 // Deference the iterator
 const bh_base *dereference() const {
     assert(cur != end);
     assert(not cur->isConstant());
     return cur->base;
 }