Fix #if 0'd code after range-based for loop change
llvm-svn: 203487
This commit is contained in:
parent
e3cd1429e5
commit
bde27d2451
|
|
@ -688,7 +688,7 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function)
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
static void DebugUsers(Log *log, Value *value, uint8_t depth)
|
static void DebugUsers(lldb_private::Log *log, Value *value, uint8_t depth)
|
||||||
{
|
{
|
||||||
if (!depth)
|
if (!depth)
|
||||||
return;
|
return;
|
||||||
|
|
@ -698,7 +698,7 @@ static void DebugUsers(Log *log, Value *value, uint8_t depth)
|
||||||
if (log)
|
if (log)
|
||||||
log->Printf(" <Begin %d users>", value->getNumUses());
|
log->Printf(" <Begin %d users>", value->getNumUses());
|
||||||
|
|
||||||
for (llvm::User *u : users())
|
for (llvm::User *u : value->users())
|
||||||
{
|
{
|
||||||
if (log)
|
if (log)
|
||||||
log->Printf(" <Use %p> %s", u, PrintValue(u).c_str());
|
log->Printf(" <Use %p> %s", u, PrintValue(u).c_str());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue