Debug: Tree compare between versions; merge from dtype branch. No functional change.

This commit is contained in:
Wilson Snyder
2012-04-28 13:00:44 -04:00
parent 799afac05b
commit d5e19661bd
2 changed files with 59 additions and 3 deletions
+1 -1
View File
@@ -1014,7 +1014,7 @@ void AstNode::dumpTreeFile(const string& filename, bool append) {
UINFO(2,"Dumping "<<filename<<endl);
const auto_ptr<ofstream> logsp (V3File::new_ofstream(filename, append));
if (logsp->fail()) v3fatalSrc("Can't write "<<filename);
*logsp<<"Tree Dump from <e"<<dec<<editCountLast()<<">";
*logsp<<"Verilator Tree Dump (format 0x3800) from <e"<<dec<<editCountLast()<<">";
*logsp<<" to <e"<<dec<<editCountGbl()<<">"<<endl;
if (editCountGbl()==editCountLast()
&& !(v3Global.opt.dumpTree()>=9)) {