summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-16 21:42:31 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-16 21:42:31 +0000
commit00c9a518886c4f2d1cd869c174c994c20a353906 (patch)
tree954a09b0c32ad972a31cdd78afcfdf091affdb55 /lib
parent3912b73c74dc9c928228504e9a23c577b57c4e12 (diff)
downloadllvm-00c9a518886c4f2d1cd869c174c994c20a353906.tar.gz
llvm-00c9a518886c4f2d1cd869c174c994c20a353906.tar.bz2
llvm-00c9a518886c4f2d1cd869c174c994c20a353906.tar.xz
Add missing exit for 'case'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
index 3fdc7c90c3..dcd2a873f2 100644
--- a/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
+++ b/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
@@ -2962,6 +2962,7 @@ validateInstruction(MCInst &Inst,
if (widthm1 >= 32 - lsb)
return Error(Operands[5]->getStartLoc(),
"bitfield width must be in range [1,32-lsb]");
+ return false;
}
}