summaryrefslogtreecommitdiff
path: root/src/ir/table-utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/table-utils.cpp')
-rw-r--r--src/ir/table-utils.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/ir/table-utils.cpp b/src/ir/table-utils.cpp
index 79b90d249..0d47f155b 100644
--- a/src/ir/table-utils.cpp
+++ b/src/ir/table-utils.cpp
@@ -19,9 +19,7 @@
#include "find_all.h"
#include "module-utils.h"
-namespace wasm {
-
-namespace TableUtils {
+namespace wasm::TableUtils {
std::set<Name> getFunctionsNeedingElemDeclare(Module& wasm) {
// Without reference types there are no ref.funcs or elem declare.
@@ -83,6 +81,4 @@ bool usesExpressions(ElementSegment* curr, Module* module) {
return !allElementsRefFunc || hasTableOfSpecializedType;
}
-} // namespace TableUtils
-
-} // namespace wasm
+} // namespace wasm::TableUtils