Пример #1
0
 bool canSimulate(AstNode *nodep) {
     SimulateVisitor simvis;
     AstNode* clonep = nodep->cloneTree(true);
     simvis.mainCheckTree(clonep);
     pushDeletep(clonep); clonep = NULL;
     return simvis.optimizable();
 }
Пример #2
0
    bool canSimulate(AstNode *nodep) {
	SimulateVisitor simvis;
	AstNode* clone = nodep->cloneTree(true);
	simvis.mainCheckTree(clone);
	return simvis.optimizable();
    }