mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 15:33:33 +00:00
After Victor's latest commits I am seeing null
addresses in dbg.declare; ignore this for the moment to prevent things from breaking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95471 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8d7b85ba1
commit
dc91856575
@ -332,6 +332,8 @@ bool FastISel::SelectCall(User *I) {
|
|||||||
return true;
|
return true;
|
||||||
|
|
||||||
Value *Address = DI->getAddress();
|
Value *Address = DI->getAddress();
|
||||||
|
if (!Address)
|
||||||
|
return true;
|
||||||
AllocaInst *AI = dyn_cast<AllocaInst>(Address);
|
AllocaInst *AI = dyn_cast<AllocaInst>(Address);
|
||||||
// Don't handle byval struct arguments or VLAs, for example.
|
// Don't handle byval struct arguments or VLAs, for example.
|
||||||
if (!AI) break;
|
if (!AI) break;
|
||||||
|
Loading…
Reference in New Issue
Block a user