debug: move WARN_ON() out of line