1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Partially roll back r202915.

I did not intend to cast a pointer to ulittle32_t there because the return
type is const void*.

llvm-svn: 202916
This commit is contained in:
Rui Ueyama 2014-03-05 00:43:02 +00:00
parent 4703f66aae
commit 0c4a6814d3

View 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.