summaryrefslogtreecommitdiff
path: root/src/ir/manipulation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/manipulation.h')
-rw-r--r--src/ir/manipulation.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/manipulation.h b/src/ir/manipulation.h
index fb1f0181e..54822f2bd 100644
--- a/src/ir/manipulation.h
+++ b/src/ir/manipulation.h
@@ -19,9 +19,8 @@
#include "wasm.h"
-namespace wasm {
+namespace wasm::ExpressionManipulator {
-namespace ExpressionManipulator {
// Re-use a node's memory. This helps avoid allocation when optimizing.
template<typename InputType, typename OutputType>
inline OutputType* convert(InputType* input) {
@@ -75,8 +74,6 @@ inline Expression* copy(Expression* original, Module& wasm) {
// Splice an item into the middle of a block's list
void spliceIntoBlock(Block* block, Index index, Expression* add);
-} // namespace ExpressionManipulator
-
-} // namespace wasm
+} // namespace wasm::ExpressionManipulator
#endif // wams_ir_manipulation_h