Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1898)

Unified Diff: Source/wtf/SaturatedArithmetic.h

Issue 396603002: disable inline ARM saturated arithmetic assembly for debug builds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/SaturatedArithmetic.h
diff --git a/Source/wtf/SaturatedArithmetic.h b/Source/wtf/SaturatedArithmetic.h
index ff4ecb3619ec9c15f0def09274a2eaa29134dc21..2f2aeaccae7e5d2fc21bba7c486facc1b6bf0d27 100644
--- a/Source/wtf/SaturatedArithmetic.h
+++ b/Source/wtf/SaturatedArithmetic.h
@@ -35,7 +35,7 @@
#include <limits>
#include <stdint.h>
-#if CPU(ARM) && COMPILER(GCC)
+#if CPU(ARM) && COMPILER(GCC) && __OPTIMIZE__
// If we're building ARM on GCC we replace the C++ versions with some
// native ARM assembly for speed.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698