summaryrefslogtreecommitdiff
path: root/src/wasm.h
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2021-02-13 20:31:03 +0900
committerGitHub <noreply@github.com>2021-02-13 20:31:03 +0900
commitac3188facecb78ebaea1eec6cd6e4723a1a161fe (patch)
tree157c41d47848defb3ecb2aa407013192f6d8e8ee /src/wasm.h
parentdf9389509c703ec0583d16a70306dbdd07426c56 (diff)
downloadbinaryen-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/wasm.h')
-rw-r--r--src/wasm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wasm.h b/src/wasm.h
index 876a9bfa7..c2df1616e 100644
--- a/src/wasm.h
+++ b/src/wasm.h
@@ -1945,4 +1945,4 @@ std::ostream& operator<<(std::ostream& o, wasm::StackIR& ir);
} // namespace std
-#endif // wasm_wasm_h \ No newline at end of file
+#endif // wasm_wasm_h