Adding missing anchor to DATDeltaAlgorithm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146025 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie
2011-12-07 06:44:23 +00:00
parent 234bb38d6c
commit 5729c5848c
2 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,7 @@ namespace llvm {
/// for more information on the properties which the predicate function itself /// for more information on the properties which the predicate function itself
/// should satisfy. /// should satisfy.
class DAGDeltaAlgorithm { class DAGDeltaAlgorithm {
virtual void anchor();
public: public:
typedef unsigned change_ty; typedef unsigned change_ty;
typedef std::pair<change_ty, change_ty> edge_ty; typedef std::pair<change_ty, change_ty> edge_ty;

View File

@ -350,6 +350,9 @@ DAGDeltaAlgorithmImpl::Run() {
return Required; return Required;
} }
void DAGDeltaAlgorithm::anchor() {
}
DAGDeltaAlgorithm::changeset_ty DAGDeltaAlgorithm::changeset_ty
DAGDeltaAlgorithm::Run(const changeset_ty &Changes, DAGDeltaAlgorithm::Run(const changeset_ty &Changes,
const std::vector<edge_ty> &Dependencies) { const std::vector<edge_ty> &Dependencies) {