summaryrefslogtreecommitdiff
path: root/lib/builtins/assembly.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-07-20 20:00:26 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-07-20 20:00:26 +0000
commit344b05d7a377233d3842bb2eec5acaa4a5303cc5 (patch)
tree82f8b2b32dd2f5ee94c4dbc009cc04c02f98005c /lib/builtins/assembly.h
parentdc7280602611b4966e86a29795ae04cdbe977252 (diff)
Revert r213467, it breaks non-thumb mode.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@213479 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/builtins/assembly.h')
-rw-r--r--lib/builtins/assembly.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/builtins/assembly.h b/lib/builtins/assembly.h
index b09fcd55a..d415a5f8d 100644
--- a/lib/builtins/assembly.h
+++ b/lib/builtins/assembly.h
@@ -22,16 +22,6 @@
#define SEPARATOR ;
#endif
-#if defined(__arm__)
-#if __ARM_ARCH_ISA_THUMB == 2
-#define IT it
-#define ITT itt
-#else
-#define IT @
-#define ITT @
-#endif
-#endif
-
#if defined(__APPLE__)
#define HIDDEN(name) .private_extern name
#define LOCAL_LABEL(name) L_##name
@@ -96,9 +86,7 @@
#ifdef ARM_HAS_BX
#define JMP(r) bx r
-#define JMPc(r, c) \
- IT c; \
- bx##c r
+#define JMPc(r, c) bx##c r
#else
#define JMP(r) mov pc, r
#define JMPc(r, c) mov##c pc, r