Bug 1113643 - Optimize |x instanceof function| in Baseline and optimize more in Ion. r=bhackett