summaryrefslogtreecommitdiff
path: root/src/ir/block-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/block-utils.h')
-rw-r--r--src/ir/block-utils.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/block-utils.h b/src/ir/block-utils.h
index be24cf483..25d4d63bc 100644
--- a/src/ir/block-utils.h
+++ b/src/ir/block-utils.h
@@ -24,9 +24,8 @@
#include "wasm-builder.h"
#include "wasm.h"
-namespace wasm {
+namespace wasm::BlockUtils {
-namespace BlockUtils {
// if a block has just one element, it can often be replaced
// with that content
template<typename T>
@@ -68,8 +67,6 @@ inline Expression* simplifyToContentsWithPossibleTypeChange(Block* block,
T* parent) {
return simplifyToContents(block, parent, true);
}
-} // namespace BlockUtils
-
-} // namespace wasm
+} // namespace wasm::BlockUtils
#endif // wasm_ir_block_h