Bug 991336 - Improve checking around CompileInfo sweep indexes, r=jandem.