summaryrefslogtreecommitdiff
path: root/src/wasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.cpp')
-rw-r--r--src/wasm.cpp19
1 files changed, 4 insertions, 15 deletions
diff --git a/src/wasm.cpp b/src/wasm.cpp
index a910575f0..f43f4be1e 100644
--- a/src/wasm.cpp
+++ b/src/wasm.cpp
@@ -26,20 +26,10 @@ Name WASM("wasm"),
RETURN_FLOW("*return:)*");
namespace BinaryConsts {
-namespace Section {
- const char* Memory = "memory";
- const char* Signatures = "type";
- const char* ImportTable = "import";
- const char* FunctionSignatures = "function";
- const char* Functions = "code";
- const char* ExportTable = "export";
- const char* Globals = "global";
- const char* DataSegments = "data";
- const char* FunctionTable = "table";
- const char* Names = "name";
- const char* Start = "start";
-};
-};
+namespace UserSections {
+const char* Names = "names";
+}
+}
Name GROW_WASM_MEMORY("__growWasmMemory"),
NEW_SIZE("newSize"),
@@ -163,4 +153,3 @@ void Loop::finalize() {
}
} // namespace wasm
-