bool instructionsAreSinkable(InputIterator first, InputIterator last) { for (; first != last; ++first) { switch (first->op()) { case DecRef: case DecRefNZ: case IncRef: case LdMem: continue; default: FTRACE(5, "unsinkable: {}\n", first->toString()); return false; } } return true; }
bool instructionsAreSinkable(InputIterator first, InputIterator last) { for (; first != last; ++first) { switch (first->op()) { case ReDefSP: case ReDefGeneratorSP: case DecRef: case DecRefNZ: case Marker: case IncRef: case LdMem: return true; default: FTRACE(5, "unsinkable: {}\n", first->toString()); return false; } } not_reached(); }