diff options
-rw-r--r-- | src/asm2wasm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asm2wasm.h b/src/asm2wasm.h index 3baf09329..92cef7be9 100644 --- a/src/asm2wasm.h +++ b/src/asm2wasm.h @@ -483,7 +483,7 @@ void Asm2WasmBuilder::processAsm(Ref ast) { auto export_ = allocator.alloc<Export>(); export_->name = key; export_->value = value[1]->getIString(); - wasm.exports.push_back(export_); + wasm.addExport(export_); } } } |