summaryrefslogtreecommitdiff
path: root/src/passes/CodePushing.cpp
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2020-11-17 15:57:45 -0800
committerGitHub <noreply@github.com>2020-11-17 15:57:45 -0800
commit8cb7d3b341f4c907da9dfecc1054e5136f22c606 (patch)
treeb65f97a4a9f04e0f938084f11a91d5e6f3e2a6d2 /src/passes/CodePushing.cpp
parent5d1642bd600b591145ae96d1916f85888c0f4dbf (diff)
downloadbinaryen-8cb7d3b341f4c907da9dfecc1054e5136f22c606.tar.gz
binaryen-8cb7d3b341f4c907da9dfecc1054e5136f22c606.tar.bz2
binaryen-8cb7d3b341f4c907da9dfecc1054e5136f22c606.zip
[effects.h] Refactor hasGlobalSideEffects and throw handling. (#3370)
The new writesGlobalState has a name that more clearly indicates what it actually does: affect global state (that is, memory, globals, the table, etc.). This removes throw from there, and handles it directly in the single caller of the method, the licm pass. For simplicity, disallow exceptions in that pass, leaving it for future work.
Diffstat (limited to 'src/passes/CodePushing.cpp')
0 files changed, 0 insertions, 0 deletions