summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/possible-contents.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/possible-contents.h b/src/ir/possible-contents.h
index 7b88483cf..945d59d26 100644
--- a/src/ir/possible-contents.h
+++ b/src/ir/possible-contents.h
@@ -620,7 +620,7 @@ template<> struct hash<wasm::TagLocation> {
template<> struct hash<wasm::CaughtExnRefLocation> {
size_t operator()(const wasm::CaughtExnRefLocation& loc) const {
- return std::hash<const char*>()("caught-exnref-location");
+ return std::hash<const void*>()("caught-exnref-location");
}
};