diff options
Diffstat (limited to 'src/wasm/wasm.cpp')
-rw-r--r-- | src/wasm/wasm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm/wasm.cpp b/src/wasm/wasm.cpp index 38f35411f..f5806b184 100644 --- a/src/wasm/wasm.cpp +++ b/src/wasm/wasm.cpp @@ -1503,8 +1503,8 @@ void Function::clearNames() { localNames.clear(); } void Function::clearDebugInfo() { localIndices.clear(); debugLocations.clear(); - prologLocation.clear(); - epilogLocation.clear(); + prologLocation.reset(); + epilogLocation.reset(); } template<typename Map> |