[PATCH] D12108: [WinEH] Require token linkage in EH pad/ret signatures

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 13:11:50 PDT 2015


majnemer added inline comments.

================
Comment at: include/llvm/IR/Instructions.h:3716
@@ -3721,3 +3715,3 @@
     assert(NewDest);
-    Op<-1>() = NewDest;
+    Op<-1>() = reinterpret_cast<Value *>(NewDest);
   }
----------------
I am having trouble imagining what use those `reinterpret_cast` are doing.  If there are places where MSVC rejects, can you use `static_cast` instead of `reinterpret_cast`?


http://reviews.llvm.org/D12108





More information about the llvm-commits mailing list