mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-29 13:24:25 +00:00
Fix Value dangling reference debug output
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231889 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -68,7 +68,7 @@ void TypeFinder::run(const Module &M, bool onlyNamed) {
|
||||
// instructions with this loop.)
|
||||
for (User::const_op_iterator OI = I.op_begin(), OE = I.op_end();
|
||||
OI != OE; ++OI)
|
||||
if (!isa<Instruction>(OI))
|
||||
if (*OI && !isa<Instruction>(OI))
|
||||
incorporateValue(*OI);
|
||||
|
||||
// Incorporate types hiding in metadata.
|
||||
|
Reference in New Issue
Block a user