X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FDAGDeltaAlgorithm.cpp;h=0d504ee86b4339141e05758134a5e1b026351dca;hb=03ac7db89d5df4cb7bb63cf53ba299d8cb3459c9;hp=a616045b6bbf73e10e5fe2b9cb67a1c4138047ef;hpb=c5252da873d547a19069eaf9030fec203f128f66;p=oota-llvm.git diff --git a/lib/Support/DAGDeltaAlgorithm.cpp b/lib/Support/DAGDeltaAlgorithm.cpp index a616045b6bb..0d504ee86b4 100644 --- a/lib/Support/DAGDeltaAlgorithm.cpp +++ b/lib/Support/DAGDeltaAlgorithm.cpp @@ -42,6 +42,8 @@ #include using namespace llvm; +#define DEBUG_TYPE "dag-delta" + namespace { class DAGDeltaAlgorithmImpl { @@ -162,12 +164,12 @@ class DeltaActiveSetHelper : public DeltaAlgorithm { protected: /// UpdatedSearchState - Callback used when the search state changes. - virtual void UpdatedSearchState(const changeset_ty &Changes, - const changesetlist_ty &Sets) { + void UpdatedSearchState(const changeset_ty &Changes, + const changesetlist_ty &Sets) override { DDAI.UpdatedSearchState(Changes, Sets, Required); } - virtual bool ExecuteOneTest(const changeset_ty &S) { + bool ExecuteOneTest(const changeset_ty &S) override { return DDAI.GetTestResult(S, Required); }