diff options
Diffstat (limited to 'src/ir/memory-utils.h')
-rw-r--r-- | src/ir/memory-utils.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/ir/memory-utils.h b/src/ir/memory-utils.h index 432fed0aa..3a0862cd7 100644 --- a/src/ir/memory-utils.h +++ b/src/ir/memory-utils.h @@ -25,9 +25,8 @@ #include "wasm-builder.h" #include "wasm.h" -namespace wasm { +namespace wasm::MemoryUtils { -namespace MemoryUtils { // Flattens memory into a single data segment, or no segment. If there is // a segment, it starts at 0. // If ensuredSegmentSize is provided, then a segment is always emitted, @@ -198,8 +197,6 @@ inline bool ensureLimitedSegments(Module& module) { memory.segments.swap(mergedSegments); return true; } -} // namespace MemoryUtils - -} // namespace wasm +} // namespace wasm::MemoryUtils #endif // wasm_ir_memory_h |