diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/c-writer.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c-writer.cc b/src/c-writer.cc index a698cd59..76ff52f9 100644 --- a/src/c-writer.cc +++ b/src/c-writer.cc @@ -3558,6 +3558,9 @@ void CWriter::Write(const ExprList& exprs) { Write(", ", StackVar(num_params - i)); } Write(");", Newline()); + if (IsSingleUnsharedMemory()) { + InstallSegueBase(module_->memories[0], false /* save_old_value */); + } DropTypes(num_params + 1); PushTypes(decl.sig.result_types); if (num_results > 1) { |