We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e33605 commit 817e635Copy full SHA for 817e635
src/wasm/wasm-binary.cpp
@@ -365,7 +365,7 @@ void WasmBinaryWriter::writeImports() {
365
table->max,
366
table->hasMax(),
367
/*shared=*/false,
368
- /*is64*/ false);
+ table->is64());
369
});
370
finishSection(start);
371
}
test/lit/table64.wast
@@ -0,0 +1,8 @@
1
+;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
2
+;; RUN: wasm-opt %s -all --roundtrip -S -o - | filecheck %s
3
+
4
5
+(module
6
+ (import "env" "table" (table i64 1 funcref))
7
+)
8
+;; CHECK: (import "env" "table" (table $timport$0 i64 1 funcref))
0 commit comments