Bug 994993 - IonMonkey: Don't disable math function optimization when there's no cache. r=jandem

This commit is contained in:
Dan Gohman 2014-04-11 06:50:10 -07:00
parent 3c1971125d
commit fadf255dc5

View File

@ -220,8 +220,6 @@ IonBuilder::inlineMathFunction(CallInfo &callInfo, MMathFunction::Function funct
return InliningStatus_NotInlined;
const MathCache *cache = compartment->runtime()->maybeGetMathCache();
if (!cache)
return InliningStatus_NotInlined;
callInfo.fun()->setImplicitlyUsedUnchecked();
callInfo.thisArg()->setImplicitlyUsedUnchecked();