diff options
Diffstat (limited to 'src/wasm2js.h')
-rw-r--r-- | src/wasm2js.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wasm2js.h b/src/wasm2js.h index 321734688..7fa923ceb 100644 --- a/src/wasm2js.h +++ b/src/wasm2js.h @@ -217,6 +217,7 @@ public: std::to_string(index)) .c_str(), false); + ret = fromName(ret, NameScope::Local); } if (func->localIndices.find(ret) == func->localIndices.end()) { Builder::addVar(func, ret, type); |