diff options
author | David Blaikie <dblaikie@gmail.com> | 2011-12-07 06:44:23 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2011-12-07 06:44:23 +0000 |
commit | 5729c5848c74a2413cc1d32a5f3c746aff5d9ccc (patch) | |
tree | 8b569e5ff264df5f952d6734e7e99b37edb232b7 | |
parent | 234bb38d6c421ea22229087a9835afe99e531276 (diff) |
Adding missing anchor to DATDeltaAlgorithm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146025 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/ADT/DAGDeltaAlgorithm.h | 1 | ||||
-rw-r--r-- | lib/Support/DAGDeltaAlgorithm.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/ADT/DAGDeltaAlgorithm.h b/include/llvm/ADT/DAGDeltaAlgorithm.h index 99ed15c0d6..e502ac4348 100644 --- a/include/llvm/ADT/DAGDeltaAlgorithm.h +++ b/include/llvm/ADT/DAGDeltaAlgorithm.h @@ -36,6 +36,7 @@ namespace llvm { /// for more information on the properties which the predicate function itself /// should satisfy. class DAGDeltaAlgorithm { + virtual void anchor(); public: typedef unsigned change_ty; typedef std::pair<change_ty, change_ty> edge_ty; diff --git a/lib/Support/DAGDeltaAlgorithm.cpp b/lib/Support/DAGDeltaAlgorithm.cpp index 814566494d..1e89c6ad2f 100644 --- a/lib/Support/DAGDeltaAlgorithm.cpp +++ b/lib/Support/DAGDeltaAlgorithm.cpp @@ -350,6 +350,9 @@ DAGDeltaAlgorithmImpl::Run() { return Required; } +void DAGDeltaAlgorithm::anchor() { +} + DAGDeltaAlgorithm::changeset_ty DAGDeltaAlgorithm::Run(const changeset_ty &Changes, const std::vector<edge_ty> &Dependencies) { |