| Index: include/core/SkPostConfig.h
|
| diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
|
| index fa65ee6d47015fa7750f29c58ee47e30f160f467..317317084b6a0a822f709ca6084a002a634f374e 100644
|
| --- a/include/core/SkPostConfig.h
|
| +++ b/include/core/SkPostConfig.h
|
| @@ -267,6 +267,18 @@
|
| # endif
|
| #endif
|
|
|
| +/**
|
| + * If your judgment is better than the compiler's (i.e. you've profiled it),
|
| + * you can use SK_NEVER_INLINE to prevent inlining.
|
| + */
|
| +#if !defined(SK_NEVER_INLINE)
|
| +# if defined(SK_BUILD_FOR_WIN)
|
| +# define SK_NEVER_INLINE __declspec(noinline)
|
| +# else
|
| +# define SK_NEVER_INLINE SK_ATTRIBUTE(noinline)
|
| +# endif
|
| +#endif
|
| +
|
| //////////////////////////////////////////////////////////////////////
|
|
|
| #if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE1
|
|
|