Adding missing anchor to DATDeltaAlgorithm.
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 7 Dec 2011 06:44:23 +0000 (06:44 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 7 Dec 2011 06:44:23 +0000 (06:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146025 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/ADT/DAGDeltaAlgorithm.h
lib/Support/DAGDeltaAlgorithm.cpp

index 99ed15c0d60f7d453e22f11cfad8adee9b36e48a..e502ac4348d0f20e90938c8a48e70b26c468e662 100644 (file)
@@ -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;
index 814566494d3059d43faa2e894b896c1d3ef93837..1e89c6ad2ff26d11882d6dfcd9fbe88fe495d787 100644 (file)
@@ -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) {