diff --git a/llvm/include/llvm/BuildDFG/BuildDFG.h b/llvm/include/llvm/BuildDFG/BuildDFG.h index 811b024d92af8d9b7a473752c8b6dd26e38a9f91..61ea212b1ba15f1675971364620f955355dd0691 100644 --- a/llvm/include/llvm/BuildDFG/BuildDFG.h +++ b/llvm/include/llvm/BuildDFG/BuildDFG.h @@ -30,6 +30,7 @@ struct BuildDFG : public ModulePass { private: // Member variables DFInternalNode *Root; + std::vector<DFInternalNode*> Roots; HandleToDFNode HandleToDFNodeMap; // This map associates the i8* pointer // with the DFNode structure that it @@ -60,6 +61,7 @@ public: //TODO: Maybe make these fields const DFInternalNode *getRoot() const; + std::vector<DFInternalNode*> &getRoots(); HandleToDFNode &getHandleToDFNodeMap(); HandleToDFEdge &getHandleToDFEdgeMap();