summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/effects.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index f5fdc5184..d3ae9ba20 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -188,8 +188,7 @@ public:
}
bool hasAnything() const {
- return hasSideEffects() || accessesLocal() || readsMemory || readsTable ||
- accessesMutableGlobal();
+ return hasSideEffects() || accessesLocal() || readsMutableGlobalState();
}
// check if we break to anything external from ourselves