Partially roll back r202915.
authorRui Ueyama <ruiu@google.com>
Wed, 5 Mar 2014 00:43:02 +0000 (00:43 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 5 Mar 2014 00:43:02 +0000 (00:43 +0000)
I did not intend to cast a pointer to ulittle32_t there because the return
type is const void*.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202916 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/Win64EH.h

index 8966c0d04ebea83f4164c9ab3dc1462a745bdefd..7ca218e87a779ba9b552fca1eefeff43ced039d0 100644 (file)
@@ -108,8 +108,7 @@ struct UnwindInfo {
 
   /// \brief Return pointer to language specific data part of UnwindInfo.
   const void *getLanguageSpecificData() const {
-    return reinterpret_cast<const support::ulittle32_t *>(
-        &UnwindCodes[(NumCodes + 1) & ~1]);
+    return reinterpret_cast<const void *>(&UnwindCodes[(NumCodes + 1) & ~1]);
   }
 
   /// \brief Return image-relative offset of language-specific exception handler.