summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index b4b4da1826c..5fa3ced52ad 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -112,7 +112,6 @@ unsigned ARMTargetAsmInfo::getInlineAsmLength(const char *Str) const {
atInsnStart = false;
if (isThumb) {
// BL and BLX <non-reg> are 4 bytes, all others 2.
- const char*p = Str;
if ((*Str=='b' || *Str=='B') &&
(*(Str+1)=='l' || *(Str+1)=='L')) {
if (*(Str+2)=='x' || *(Str+2)=='X') {
OpenPOWER on IntegriCloud