[PATCH] D40844: [WebAssembly] COMDAT: core LLVM support

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 9 16:12:04 PST 2018


sbc100 added inline comments.


================
Comment at: tools/obj2yaml/wasm2yaml.cpp:52
 
+static uint32_t getNumFunctionImports(ArrayRef<wasm::WasmImport> Imports) {
+  uint32_t NumFunctionImports = 0;
----------------
I ended up exposing the Index directly in the WasmFunction struct to avoid the need for this.  


Repository:
  rL LLVM

https://reviews.llvm.org/D40844





More information about the llvm-commits mailing list