[PATCH] D48263: [WebAssembly] Add WasmEHFuncInfo for unwind destination information

Derek Schuff via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 18 15:05:45 PDT 2018


dschuff added inline comments.


================
Comment at: lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp:313
+
+  if (Personality == EHPersonality::Wasm_CXX) {
+    WasmEHFuncInfo &EHInfo = *MF->getWasmEHFuncInfo();
----------------
Could make this an 'else if' just to make it really clear that only one of these will happen.


Repository:
  rL LLVM

https://reviews.llvm.org/D48263





More information about the llvm-commits mailing list