public void ResetInstCounter() { if (inserting) throw new Exception("Cannot reset instruction counter during insert"); currI = -1; }