mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1150654 - Add CantInlineNoSpecialization to distinguish natives for which there is no Ion specialization. (r=jandem)
This commit is contained in:
parent
f0a35a775e
commit
80fbf5e7e0
@ -125,6 +125,7 @@ namespace JS {
|
||||
_(CantInlineNativeBadType) \
|
||||
_(CantInlineNativeNoTemplateObj) \
|
||||
_(CantInlineBound) \
|
||||
_(CantInlineNativeNoSpecialization) \
|
||||
\
|
||||
_(GenericSuccess) \
|
||||
_(Inlined) \
|
||||
|
@ -398,6 +398,10 @@ IonBuilder::inlineNativeCall(CallInfo& callInfo, JSFunction* target)
|
||||
if (native == js::simd_float32x4_storeXYZ)
|
||||
return inlineSimdStore(callInfo, native, SimdTypeDescr::Float32x4, 3);
|
||||
|
||||
// Reaching here means we tried to inline a native for which there is no
|
||||
// Ion specialization.
|
||||
trackOptimizationOutcome(TrackedOutcome::CantInlineNativeNoSpecialization);
|
||||
|
||||
return InliningStatus_NotInlined;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user