summaryrefslogtreecommitdiff
path: root/src/ir/effects.h
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-01-07 11:16:44 -0800
committerGitHub <noreply@github.com>2020-01-07 11:16:44 -0800
commite8f9d207427bda2f6e22c28ff0210b294b1f70e1 (patch)
tree503b20fb06274e38af7e25e3a1a4106827c52693 /src/ir/effects.h
parentf73b40c7873dbd2dd46a962f3afe5b97a7fc8b0a (diff)
downloadbinaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.gz
binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.tar.bz2
binaryen-e8f9d207427bda2f6e22c28ff0210b294b1f70e1.zip
[NFC] Enforce use of `Type::` on type names (#2434)
Diffstat (limited to 'src/ir/effects.h')
-rw-r--r--src/ir/effects.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/effects.h b/src/ir/effects.h
index 6eb2da91d..9c8887333 100644
--- a/src/ir/effects.h
+++ b/src/ir/effects.h
@@ -209,7 +209,7 @@ struct EffectAnalyzer
// loop top, but no way to get out, then it is an infinite loop, and we
// consider that a branching side effect (note how the same logic does
// not apply to blocks).
- if (curr->type == unreachable) {
+ if (curr->type == Type::unreachable) {
branches = true;
}
}