mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 930477: Inline MPow with Float32 inputs even if it's not specialized; r=jandem
This commit is contained in:
parent
7563d524e8
commit
5ce759a0eb
@ -775,9 +775,9 @@ IonBuilder::inlineMathPow(CallInfo &callInfo)
|
||||
|
||||
if (outputType != MIRType_Int32 && outputType != MIRType_Double)
|
||||
return InliningStatus_NotInlined;
|
||||
if (baseType != MIRType_Int32 && baseType != MIRType_Double)
|
||||
if (!IsNumberType(baseType))
|
||||
return InliningStatus_NotInlined;
|
||||
if (powerType != MIRType_Int32 && powerType != MIRType_Double)
|
||||
if (!IsNumberType(powerType))
|
||||
return InliningStatus_NotInlined;
|
||||
|
||||
callInfo.setImplicitlyUsedUnchecked();
|
||||
|
Loading…
Reference in New Issue
Block a user