[all-commits] [llvm/llvm-project] a08e60: [WebAssembly] Rename methods in WasmEHFuncInfo (NFC)

Heejin Ahn via All-commits all-commits at lists.llvm.org
Mon Feb 22 12:16:42 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a08e609d2eac7737bfc14cd4ee35b2cabe1238b6
      https://github.com/llvm/llvm-project/commit/a08e609d2eac7737bfc14cd4ee35b2cabe1238b6
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M llvm/include/llvm/CodeGen/WasmEHFuncInfo.h
    M llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
    M llvm/lib/CodeGen/WasmEHPrepare.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp

  Log Message:
  -----------
  [WebAssembly] Rename methods in WasmEHFuncInfo (NFC)

This renames variable and method names in `WasmEHFuncInfo` class to be
simpler and clearer. For example, unwind destinations are EH pads by
definition so it doesn't necessarily need to be included in every method
name. Also I am planning to add the reverse mapping in a later CL,
something like `UnwindDestToSrc`, so this renaming will make meanings
clearer.

Reviewed By: dschuff

Differential Revision: https://reviews.llvm.org/D97173




More information about the All-commits mailing list