diff options
author | Thomas Lively <tlively@google.com> | 2022-11-22 23:41:49 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 05:41:49 +0000 |
commit | 2c0fb8c513b3534576383d250c593a9bd28347e3 (patch) | |
tree | 993b23de3e8e5007fd3a32242cda95e7172ad765 /src/passes/ConstantFieldPropagation.cpp | |
parent | 853b31ec89416bef0014e06f2defaef74f47b81e (diff) | |
download | binaryen-2c0fb8c513b3534576383d250c593a9bd28347e3.tar.gz binaryen-2c0fb8c513b3534576383d250c593a9bd28347e3.tar.bz2 binaryen-2c0fb8c513b3534576383d250c593a9bd28347e3.zip |
Remove equirecursive typing (#5240)
Equirecursive is no longer standards track and its implementation is extremely
complex. Remove it.
Diffstat (limited to 'src/passes/ConstantFieldPropagation.cpp')
-rw-r--r-- | src/passes/ConstantFieldPropagation.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/passes/ConstantFieldPropagation.cpp b/src/passes/ConstantFieldPropagation.cpp index 5048b978b..c5b95b15a 100644 --- a/src/passes/ConstantFieldPropagation.cpp +++ b/src/passes/ConstantFieldPropagation.cpp @@ -187,10 +187,6 @@ struct ConstantFieldPropagation : public Pass { if (!module->features.hasGC()) { return; } - if (getTypeSystem() != TypeSystem::Nominal && - getTypeSystem() != TypeSystem::Isorecursive) { - Fatal() << "CFP requires nominal/isorecursive typing"; - } // Find and analyze all writes inside each function. PCVFunctionStructValuesMap functionNewInfos(*module), |