[PATCH] D26875: [WebAssembly] Emit .import_global assembler directives

Mandeep Singh Grang via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 18 16:07:54 PST 2016


mgrang added inline comments.


================
Comment at: lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp:136
   }
+  for (const auto &G : M.globals()) {
+    if (!G.hasInitializer() && G.hasExternalLinkage()) {
----------------
nit: You can leave out the braces here.


https://reviews.llvm.org/D26875





More information about the llvm-commits mailing list