From: Ted Kremenek Date: Tue, 9 Dec 2008 00:17:51 +0000 (+0000) Subject: Update Driver to new interface for LiveVariables. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca9bab0dcbaa980bd9e7131f43b3d3b055946983;p=clang Update Driver to new interface for LiveVariables. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60732 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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); }