[PATCH] D50859: [WebAssembly] Remove temporary workaround for function bitcasts

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 16 12:25:26 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL339925: [WebAssembly] Remove temporary workaround for function bitcasts (authored by jgravelle, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D50859

Files:
  llvm/trunk/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp


Index: llvm/trunk/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
===================================================================
--- llvm/trunk/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
+++ llvm/trunk/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
@@ -257,11 +257,6 @@
     if (!Ty)
       continue;
 
-    // Bitcasted vararg functions occur in Emscripten's implementation of
-    // EM_ASM, so suppress wrappers for them for now.
-    if (TemporaryWorkarounds && (Ty->isVarArg() || F->isVarArg()))
-      continue;
-
     auto Pair = Wrappers.insert(std::make_pair(std::make_pair(F, Ty), nullptr));
     if (Pair.second)
       Pair.first->second = CreateWrapper(F, Ty);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50859.161090.patch
Type: text/x-patch
Size: 715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180816/a7b12c30/attachment.bin>


More information about the llvm-commits mailing list