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 a58e204c14
commit 9ec541ddc2

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();