mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-12 14:41:05 +00:00
Make it even more portable.
llvm-svn: 25605
This commit is contained in:
parent
7d0e421a42
commit
fdbce069c5
@ -79,7 +79,7 @@ inline void BytecodeReader::checkPastBlockEnd(const char * block_name) {
|
||||
inline void BytecodeReader::align32() {
|
||||
if (hasAlignment) {
|
||||
BufPtr Save = At;
|
||||
At = (const unsigned char *)((size_t)(At+3) & (~3UL));
|
||||
At = (const unsigned char *)((intptr_t)(At+3) & (~3UL));
|
||||
if (At > Save)
|
||||
if (Handler) Handler->handleAlignment(At - Save);
|
||||
if (At > BlockEnd)
|
||||
|
@ -645,7 +645,7 @@ void DIEAbbrev::Emit(const DwarfWriter &DW) const {
|
||||
#ifndef NDEBUG
|
||||
void DIEAbbrev::print(std::ostream &O) {
|
||||
O << "Abbreviation @"
|
||||
<< std::hex << (size_t)this << std::dec
|
||||
<< std::hex << (intptr_t)this << std::dec
|
||||
<< " "
|
||||
<< TagString(Tag)
|
||||
<< " "
|
||||
|
Loading…
x
Reference in New Issue
Block a user