summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm.h')
-rw-r--r--src/wasm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wasm.h b/src/wasm.h
index db1742d8c..99ea59728 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1167,7 +1167,7 @@ struct BinaryLocations {
struct Span {
uint32_t start, end;
};
- std::unordered_map<Expression*, uint32_t> expressions;
+ std::unordered_map<Expression*, Span> expressions;
std::unordered_map<Function*, Span> functions;
};
@@ -1225,7 +1225,7 @@ public:
std::set<DebugLocation> epilogLocation;
// General debugging info support: track instructions and the function itself.
- std::unordered_map<Expression*, uint32_t> expressionLocations;
+ std::unordered_map<Expression*, BinaryLocations::Span> expressionLocations;
BinaryLocations::Span funcLocation;
size_t getNumParams();