mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 994993 - IonMonkey: Don't disable math function optimization when there's no cache. r=jandem
This commit is contained in:
parent
3c1971125d
commit
fadf255dc5
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user