summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wasm/wasm-emscripten.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/wasm/wasm-emscripten.cpp b/src/wasm/wasm-emscripten.cpp
index 262787ac1..68c095111 100644
--- a/src/wasm/wasm-emscripten.cpp
+++ b/src/wasm/wasm-emscripten.cpp
@@ -394,12 +394,6 @@ std::string EmscriptenGlueGenerator::generateEmscriptenMetadata() {
meta << "\n },\n";
}
- if (!wasm.tables.empty()) {
- meta << " \"tableSize\": " << wasm.tables[0]->initial.addr << ",\n";
- } else {
- meta << " \"tableSize\": 0,\n";
- }
-
// Avoid adding duplicate imports to `declares' or `invokeFuncs`. Even
// though we might import the same function multiple times (i.e. with
// different sigs) we only need to list is in the metadata once.