Fix #if 0'd code after range-based for loop change

llvm-svn: 203487
This commit is contained in:
Ed Maste 2014-03-10 20:49:37 +00:00
parent e3cd1429e5
commit bde27d2451
1 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ IRForTarget::CreateResultVariable (llvm::Function &llvm_function)
}
#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)
return;
@ -698,7 +698,7 @@ static void DebugUsers(Log *log, Value *value, uint8_t depth)
if (log)
log->Printf(" <Begin %d users>", value->getNumUses());
for (llvm::User *u : users())
for (llvm::User *u : value->users())
{
if (log)
log->Printf(" <Use %p> %s", u, PrintValue(u).c_str());