Bug 860239 - Make Ion OSR a bit more robust against scripts with multiple loops. r=bhackett