diff options
author | Alon Zakai <azakai@google.com> | 2021-09-09 16:43:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 23:43:49 +0000 |
commit | 7ecc77a11a7844e4b8142fad0a718d4f8f4d193b (patch) | |
tree | 23876c2e4a247b97ae2496afc26c3fc0fe2f9356 /src/passes/OptimizeInstructions.cpp | |
parent | 0bc719505457acc1a92894b3995ce233fb0cdb20 (diff) | |
download | binaryen-7ecc77a11a7844e4b8142fad0a718d4f8f4d193b.tar.gz binaryen-7ecc77a11a7844e4b8142fad0a718d4f8f4d193b.tar.bz2 binaryen-7ecc77a11a7844e4b8142fad0a718d4f8f4d193b.zip |
Rename isIntrinsicallyNondeterministic() to isGenerative() (#4092)
Diffstat (limited to 'src/passes/OptimizeInstructions.cpp')
-rw-r--r-- | src/passes/OptimizeInstructions.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/passes/OptimizeInstructions.cpp b/src/passes/OptimizeInstructions.cpp index cbf5d74d4..357f172d9 100644 --- a/src/passes/OptimizeInstructions.cpp +++ b/src/passes/OptimizeInstructions.cpp @@ -1583,8 +1583,7 @@ private: } // To be equal, they must also be known to return the same result // deterministically. - if (Properties::isIntrinsicallyNondeterministic(left, - getModule()->features)) { + if (Properties::isGenerative(left, getModule()->features)) { return false; } return true; |