parent
1ab5805d98
commit
3da997e163
|
@ -51,15 +51,23 @@ void VarInfo::print()
|
|||
|
||||
std::string status;
|
||||
switch (it->second.status) {
|
||||
case DEALLOC: status = "dealloc"; break;
|
||||
case ALLOC: status = "alloc"; break;
|
||||
case NOALLOC: status = "noalloc"; break;
|
||||
default: status = "?"; break;
|
||||
case DEALLOC:
|
||||
status = "dealloc";
|
||||
break;
|
||||
case ALLOC:
|
||||
status = "alloc";
|
||||
break;
|
||||
case NOALLOC:
|
||||
status = "noalloc";
|
||||
break;
|
||||
default:
|
||||
status = "?";
|
||||
break;
|
||||
};
|
||||
|
||||
std::cout << "status=" << status << " "
|
||||
<< "alloctype='" << it->second.type << "' "
|
||||
<< "possibleUsage='" << strusage << "' "
|
||||
<< "possibleUsage='" << strusage << "' "
|
||||
<< "conditionalAlloc=" << (conditionalAlloc.find(it->first) != conditionalAlloc.end() ? "yes" : "no") << " "
|
||||
<< "referenced=" << (referenced.find(it->first) != referenced.end() ? "yes" : "no") << " "
|
||||
<< std::endl;
|
||||
|
|
Loading…
Reference in New Issue