diff options
| author | Heejin Ahn <aheejin@gmail.com> | 2021-02-13 20:31:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-02-13 20:31:03 +0900 |
| commit | ac3188facecb78ebaea1eec6cd6e4723a1a161fe (patch) | |
| tree | 157c41d47848defb3ecb2aa407013192f6d8e8ee /src/emscripten-optimizer/optimizer-shared.cpp | |
| parent | df9389509c703ec0583d16a70306dbdd07426c56 (diff) | |
| download | binaryen-ac3188facecb78ebaea1eec6cd6e4723a1a161fe.tar.gz binaryen-ac3188facecb78ebaea1eec6cd6e4723a1a161fe.tar.bz2 binaryen-ac3188facecb78ebaea1eec6cd6e4723a1a161fe.zip | |
[EH] Rename delegateTarget to exceptionTarget (NFC) (#3562)
So far `Try`'s label is only targetted by `delegate`s, but it turns out
`rethrow` also has to follow the same rule as `delegate` so it needs to
target a `Try` label. So this renames variables like
`delegateTargetNames` to `exceptionTargetNames` and methods like
`replaceDelegateTargets` to `replaceExceptionTargets`.
I considered `tryTarget`, but the branch/block counterpart name we use
is not `blockTarget` but `branchTarget`, so I chose `exceptionTarget`.
The patch that fixes `rethrow`'s target will follow; this is the
preparation for that.
Diffstat (limited to 'src/emscripten-optimizer/optimizer-shared.cpp')
0 files changed, 0 insertions, 0 deletions
