NodeBuilder& append(TNode n) {
Assert(!d_used, "NodeBuilder is one-shot only; attempt to access it after conversion");
- Debug("prop") << "append: " << this << " " << n << "[" << n.d_nv << "]" << std::endl;
+ Debug("node") << "append: " << this << " " << n << "[" << n.d_nv << "]" << std::endl;
allocateEvIfNecessaryForAppend();
expr::NodeValue* ev = n.d_nv;
ev->inc();
if(ev != NULL) {
// expression already exists in node manager
//d_used = true; // const version
- Debug("prop") << "result: " << Node(ev) << std::endl;
+ Debug("node") << "result: " << Node(ev) << std::endl;
return Node(ev);
}
nv->d_rc = 0;
d_used = true;
d_nv = NULL;
- Debug("prop") << "result: " << Node(nv) << std::endl;
+ Debug("node") << "result: " << Node(nv) << std::endl;
return Node(nv);
}
// expression already exists in node manager
dealloc();
d_used = true;
- Debug("prop") << "result: " << Node(nv) << std::endl;
+ Debug("node") << "result: " << Node(nv) << std::endl;
return Node(nv);
}
// Otherwise crop and set the expression value to the allocated one
if(ev != NULL) {
// expression already exists in node manager
d_used = true;
- Debug("prop") << "result: " << Node(ev) << std::endl;
+ Debug("node") << "result: " << Node(ev) << std::endl;
return Node(ev);
}