[llvm] r202916 - Partially roll back r202915.
Rui Ueyama
ruiu at google.com
Tue Mar 4 16:43:02 PST 2014
Author: ruiu
Date: Tue Mar 4 18:43:02 2014
New Revision: 202916
URL: http://llvm.org/viewvc/llvm-project?rev=202916&view=rev
Log:
Partially roll back r202915.
I did not intend to cast a pointer to ulittle32_t there because the return
type is const void*.
Modified:
llvm/trunk/include/llvm/Support/Win64EH.h
Modified: llvm/trunk/include/llvm/Support/Win64EH.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/Win64EH.h?rev=202916&r1=202915&r2=202916&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/Win64EH.h (original)
+++ llvm/trunk/include/llvm/Support/Win64EH.h Tue Mar 4 18:43:02 2014
@@ -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.
More information about the llvm-commits
mailing list