summaryrefslogtreecommitdiff
path: root/src/wasm/wasm-stack-opts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wasm/wasm-stack-opts.cpp')
-rw-r--r--src/wasm/wasm-stack-opts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm/wasm-stack-opts.cpp b/src/wasm/wasm-stack-opts.cpp
index 5902b40a5..a39b82b98 100644
--- a/src/wasm/wasm-stack-opts.cpp
+++ b/src/wasm/wasm-stack-opts.cpp
@@ -227,7 +227,7 @@ void StackIROptimizer::local2Stack() {
// used by this get and nothing else, check that.
auto& sets = localGraph.getSets(get);
if (sets.size() == 1 && *sets.begin() == set) {
- auto& setInfluences = localGraph.setInfluences[set];
+ auto& setInfluences = localGraph.getSetInfluences(set);
// If this has the proper value of 1, also do the potentially-
// expensive check of whether we can remove this pair at all.
if (setInfluences.size() == 1 &&