Skip to content
Snippets Groups Projects
Commit d3ff9f24 authored by Clark Coleman's avatar Clark Coleman
Browse files

Make verbose DEADREGS output depend on env var DEADREGS_VERBOSE.

Former-commit-id: cfc9c7bdc610749d24c77d25ba6d64f6b2968aea
parent 2073b989
No related branches found
No related tags found
No related merge requests found
......@@ -63,7 +63,9 @@ void MEDS_DeadRegAnnotation::parse()
VirtualOffset vo(m_rawInputLine);
m_virtualOffset = vo;
cout <<"Found deadreg annotation in: "<<m_rawInputLine<<endl;
if (getenv("DEADREGS_VERBOSE")) {
cout <<"Found deadreg annotation in: "<<m_rawInputLine<<endl;
}
// ignore result of getRegisterSet method because
// we don't need to parse the rest of the line.
Register::readRegisterSet(m_rawInputLine.substr(pos+tofind.length()), regset);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment