summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-stack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-stack.cpp')
-rw-r--r--src/wasm/wasm-stack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm-stack.cpp b/src/wasm/wasm-stack.cpp
index cb9d94093..d36c2386c 100644
--- a/src/wasm/wasm-stack.cpp
+++ b/src/wasm/wasm-stack.cpp
@@ -2302,7 +2302,7 @@ void StackIRToBinaryWriter::write() {
switch (inst->op) {
case StackInst::TryBegin:
catchIndexStack.push_back(0);
- // fallthrough
+ [[fallthrough]];
case StackInst::Basic:
case StackInst::BlockBegin:
case StackInst::IfBegin:
@@ -2312,7 +2312,7 @@ void StackIRToBinaryWriter::write() {
}
case StackInst::TryEnd:
catchIndexStack.pop_back();
- // fallthrough
+ [[fallthrough]];
case StackInst::BlockEnd:
case StackInst::IfEnd:
case StackInst::LoopEnd: {