mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Don't use a cast. It causes an error on some platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
12d3a91386
commit
3bae2e97d9
@ -753,7 +753,7 @@ void Interpreter::visitAllocationInst(AllocationInst &I) {
|
||||
|
||||
DOUT << "Allocated Type: " << *Ty << " (" << TypeSize << " bytes) x "
|
||||
<< NumElements << " (Total: " << MemToAlloc << ") at "
|
||||
<< unsigned(Memory) << '\n';
|
||||
<< std::hex << Memory << '\n';
|
||||
|
||||
GenericValue Result = PTOGV(Memory);
|
||||
assert(Result.PointerVal != 0 && "Null pointer returned by malloc!");
|
||||
|
Loading…
Reference in New Issue
Block a user