aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@google.com>2014-06-25 12:35:19 -0400
committerGravatar Mike Klein <mtklein@google.com>2014-06-25 12:35:19 -0400
commit4809e4d796a97d407970e224f1519b41638ab897 (patch)
treea986caddcbbfbdccae4555629fc6f6a7e0fcb892 /src
parent729c6f0f291ac8e4f73f4498ba730000ba438b48 (diff)
try release only
Diffstat (limited to 'src')
-rw-r--r--src/core/SkConvolver.cpp3
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,