diff options
author | Mike Klein <mtklein@google.com> | 2014-06-25 12:35:19 -0400 |
---|---|---|
committer | Mike Klein <mtklein@google.com> | 2014-06-25 12:35:19 -0400 |
commit | 4809e4d796a97d407970e224f1519b41638ab897 (patch) | |
tree | a986caddcbbfbdccae4555629fc6f6a7e0fcb892 | |
parent | 729c6f0f291ac8e4f73f4498ba730000ba438b48 (diff) |
try release only
-rw-r--r-- | src/core/SkConvolver.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkConvolver.cpp b/src/core/SkConvolver.cpp index 0726b4c4fe..08d9f45496 100644 --- a/src/core/SkConvolver.cpp +++ b/src/core/SkConvolver.cpp @@ -332,8 +332,7 @@ const SkConvolutionFilter1D::ConvolutionFixed* SkConvolutionFilter1D::GetSingleF // There's a bug somewhere in here with GCC autovectorization (-ftree-vectorize) on 32 bit builds. // Dropping to -O2 disables -ftree-vectorize. http://skbug.com/2575 -// Apparently this _crashes_ the NaCl toolchain compiler, so skip them. -#if defined(__i386) && SK_HAS_ATTRIBUTE(optimize) && !defined(SK_BUILD_FOR_NACL) +#if defined(__i386) && SK_HAS_ATTRIBUTE(optimize) && defined(SK_RELEASE) __attribute__((optimize("O2"))) #endif void BGRAConvolve2D(const unsigned char* sourceData, |