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

Unified Diff: Source/wtf/Platform.h

Issue 14247037: Remove the COMPILER(RVCT) guard. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 8 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 | « Source/wtf/Compiler.h ('k') | Source/wtf/UnusedParam.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/Platform.h
diff --git a/Source/wtf/Platform.h b/Source/wtf/Platform.h
index e8aa8392dc880209c48807f0aef027be5de62352..79695488a3eb27bbddd145071488cf49b139cd33 100644
--- a/Source/wtf/Platform.h
+++ b/Source/wtf/Platform.h
@@ -169,7 +169,7 @@
#define WTF_CPU_ARM_HARDFP 1
#endif
-#if defined(__ARMEB__) || (COMPILER(RVCT) && defined(__BIG_ENDIAN))
+#if defined(__ARMEB__)
#define WTF_CPU_BIG_ENDIAN 1
#elif !defined(__ARM_EABI__) \
@@ -216,18 +216,6 @@
/* MSVC sets _M_ARM */
#elif defined(_M_ARM)
#define WTF_ARM_ARCH_VERSION _M_ARM
-
-/* RVCT sets _TARGET_ARCH_ARM */
-#elif defined(__TARGET_ARCH_ARM)
-#define WTF_ARM_ARCH_VERSION __TARGET_ARCH_ARM
-
-#if defined(__TARGET_ARCH_5E) \
- || defined(__TARGET_ARCH_5TE) \
- || defined(__TARGET_ARCH_5TEJ)
-/*ARMv5TE requires allocators to use aligned memory*/
-#define WTF_USE_ARENA_ALLOC_ALIGNMENT_INTEGER 1
-#endif
-
#else
#define WTF_ARM_ARCH_VERSION 0
@@ -257,10 +245,6 @@
|| defined(__ARM_ARCH_7S__)
#define WTF_THUMB_ARCH_VERSION 4
-/* RVCT sets __TARGET_ARCH_THUMB */
-#elif defined(__TARGET_ARCH_THUMB)
-#define WTF_THUMB_ARCH_VERSION __TARGET_ARCH_THUMB
-
#else
#define WTF_THUMB_ARCH_VERSION 0
#endif
@@ -471,7 +455,7 @@
#endif
#if !defined(HAVE_VASPRINTF)
-#if !COMPILER(MSVC) && !COMPILER(RVCT) && !COMPILER(MINGW) && !(COMPILER(GCC) && OS(QNX))
+#if !COMPILER(MSVC) && !COMPILER(MINGW) && !(COMPILER(GCC) && OS(QNX))
#define HAVE_VASPRINTF 1
#endif
#endif
« no previous file with comments | « Source/wtf/Compiler.h ('k') | Source/wtf/UnusedParam.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698