diff options
author | Alon Zakai <azakai@google.com> | 2021-08-17 17:38:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 17:38:04 -0700 |
commit | 8d95402260d268966eb0b06c5f4da7e1c5854418 (patch) | |
tree | 1f6dacce034980c31e0b37270eabfc7124dad0d1 /src | |
parent | c0b126b7af2d3d9513b5cf8d541f5283984e902e (diff) | |
download | binaryen-8d95402260d268966eb0b06c5f4da7e1c5854418.tar.gz binaryen-8d95402260d268966eb0b06c5f4da7e1c5854418.tar.bz2 binaryen-8d95402260d268966eb0b06c5f4da7e1c5854418.zip |
Deprecate IgnoreImplicitTraps (#4087)
Diffstat (limited to 'src')
-rw-r--r-- | src/pass.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pass.h b/src/pass.h index 08237b271..802a34ab5 100644 --- a/src/pass.h +++ b/src/pass.h @@ -98,6 +98,7 @@ struct PassOptions { // Tweak thresholds for the Inlining pass. InliningOptions inlining; // Optimize assuming things like div by 0, bad load/store, will not trap. + // This is deprecated in favor of trapsNeverHappen. bool ignoreImplicitTraps = false; // Optimize assuming a trap will never happen at runtime. This is similar to // ignoreImplicitTraps, but different: |