aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-12-09 00:17:51 +0000
committerTed Kremenek <kremenek@apple.com>2008-12-09 00:17:51 +0000
commitca9bab0dcbaa980bd9e7131f43b3d3b055946983 (patch)
tree47a195929e8d73936015f69df9c275b60fc3f4ec
parent8322d6a4fcf34755a8378e4320c5e211366c71f8 (diff)
Update Driver to new interface for LiveVariables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60732 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Driver/AnalysisConsumer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/AnalysisConsumer.cpp b/Driver/AnalysisConsumer.cpp
index 14b4440695..3cffc20ea0 100644
--- a/Driver/AnalysisConsumer.cpp
+++ b/Driver/AnalysisConsumer.cpp
@@ -212,7 +212,7 @@ case PD_##NAME: C.PD.reset(CREATEFN(C.HTMLDir, C.PP, C.PPF)); break;
CFG* c = getCFG();
if (!c) return 0;
- liveness.reset(new LiveVariables(*c));
+ liveness.reset(new LiveVariables(getContext(), *c));
liveness->runOnCFG(*c);
liveness->runOnAllBlocks(*c, 0, true);
}