[llvm-commits] [llvm] r146025 - in /llvm/trunk: include/llvm/ADT/DAGDeltaAlgorithm.h lib/Support/DAGDeltaAlgorithm.cpp
David Blaikie
dblaikie at gmail.com
Tue Dec 6 22:44:24 PST 2011
Author: dblaikie
Date: Wed Dec 7 00:44:23 2011
New Revision: 146025
URL: http://llvm.org/viewvc/llvm-project?rev=146025&view=rev
Log:
Adding missing anchor to DATDeltaAlgorithm.
Modified:
llvm/trunk/include/llvm/ADT/DAGDeltaAlgorithm.h
llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp
Modified: llvm/trunk/include/llvm/ADT/DAGDeltaAlgorithm.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/DAGDeltaAlgorithm.h?rev=146025&r1=146024&r2=146025&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/DAGDeltaAlgorithm.h (original)
+++ llvm/trunk/include/llvm/ADT/DAGDeltaAlgorithm.h Wed Dec 7 00:44:23 2011
@@ -36,6 +36,7 @@
/// 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;
Modified: llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp?rev=146025&r1=146024&r2=146025&view=diff
==============================================================================
--- llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp (original)
+++ llvm/trunk/lib/Support/DAGDeltaAlgorithm.cpp Wed Dec 7 00:44:23 2011
@@ -350,6 +350,9 @@
return Required;
}
+void DAGDeltaAlgorithm::anchor() {
+}
+
DAGDeltaAlgorithm::changeset_ty
DAGDeltaAlgorithm::Run(const changeset_ty &Changes,
const std::vector<edge_ty> &Dependencies) {
More information about the llvm-commits
mailing list