Index: include/private/SkTLogic.h |
diff --git a/include/private/SkTLogic.h b/include/private/SkTLogic.h |
index c252001a00f1d4992281a5bd4dbcbf7a92c02bff..9c21db6756877ea0791165cb91608bc7c0fc85f5 100644 |
--- a/include/private/SkTLogic.h |
+++ b/include/private/SkTLogic.h |
@@ -123,7 +123,9 @@ template <typename R, typename... Args> struct is_function<R(Args...)> : true_ty |
template <typename R, typename... Args> struct is_function<R __cdecl (Args...)> : true_type {}; |
template <typename R, typename... Args> struct is_function<R __stdcall (Args...)> : true_type {}; |
template <typename R, typename... Args> struct is_function<R __fastcall (Args...)> : true_type {}; |
+#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2 |
template <typename R, typename... Args> struct is_function<R __vectorcall (Args...)> : true_type {}; |
+#endif |
#else |
template <typename R, typename... Args> struct is_function<R __cdecl (Args...)> : true_type {}; |
template <typename R, typename... Args> struct is_function<R __vectorcall (Args...)> : true_type {}; |