summaryrefslogtreecommitdiff
path: root/src/ir/global-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/global-utils.h')
-rw-r--r--src/ir/global-utils.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/global-utils.h b/src/ir/global-utils.h
index 34c0e56cf..26aec7790 100644
--- a/src/ir/global-utils.h
+++ b/src/ir/global-utils.h
@@ -25,9 +25,8 @@
#include "literal.h"
#include "wasm.h"
-namespace wasm {
+namespace wasm::GlobalUtils {
-namespace GlobalUtils {
// find a global initialized to the value of an import, or null if no such
// global
inline Global*
@@ -76,8 +75,6 @@ inline bool canInitializeGlobal(Expression* curr) {
return false;
}
-} // namespace GlobalUtils
-
-} // namespace wasm
+} // namespace wasm::GlobalUtils
#endif // wasm_ir_global_h