diff options
Diffstat (limited to 'src/wasm.h')
-rw-r--r-- | src/wasm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h index 2f3f09ad5..dd7164499 100644 --- a/src/wasm.h +++ b/src/wasm.h @@ -2167,7 +2167,9 @@ public: : columnNumber < other.columnNumber; } }; - std::unordered_map<Expression*, DebugLocation> debugLocations; + // One can explicitly set the debug location of an expression to + // nullopt to stop the propagation of debug locations. + std::unordered_map<Expression*, std::optional<DebugLocation>> debugLocations; std::set<DebugLocation> prologLocation; std::set<DebugLocation> epilogLocation; |