OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a406d4
)
[WebAssembly] Add an LLVM_FALLTHROUGH to address a warning. NFC.
author
Dan Gohman
<dan433584@gmail.com>
Fri, 9 Feb 2018 22:59:01 +0000
(22:59 +0000)
committer
Dan Gohman
<dan433584@gmail.com>
Fri, 9 Feb 2018 22:59:01 +0000
(22:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@324777
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
b/lib/Target/WebAssembly/WebAssemblyFastISel.cpp
index
7e284ea
..
59bf1ad
100644
(file)
--- a/
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
+++ b/
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
@@
-1165,6
+1165,7
@@
bool WebAssemblyFastISel::selectStore(const Instruction *I) {
switch (getSimpleType(Store->getValueOperand()->getType())) {
case MVT::i1:
VTIsi1 = true;
+ LLVM_FALLTHROUGH;
case MVT::i8:
Opc = WebAssembly::STORE8_I32;
break;