Skip to content

Commit

Permalink
Avoid DISPATCH_FALLTHROUGH
Browse files Browse the repository at this point in the history
  • Loading branch information
rossberg committed Mar 20, 2023
1 parent 37fd4ed commit f0692ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/wasm-v8-lowlevel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,12 @@ auto v8_valtype_to_wasm(v8::internal::wasm::ValueType v8_valtype) -> val_kind_t
return FUNCREF;
case v8::internal::wasm::HeapType::Representation::kExtern:
return EXTERNREF;
default:
;
default: ;
}
DISPATCH_FALLTHROUGH;
default:
UNREACHABLE();
break;
default: ;
}
UNREACHABLE();
}

auto func_type_param_arity(v8::Local<v8::Object> function) -> uint32_t {
Expand Down

0 comments on commit f0692ea

Please sign in to comment.