]> granicus.if.org Git - clang/commitdiff
Update Driver to new interface for LiveVariables.
authorTed Kremenek <kremenek@apple.com>
Tue, 9 Dec 2008 00:17:51 +0000 (00:17 +0000)
committerTed Kremenek <kremenek@apple.com>
Tue, 9 Dec 2008 00:17:51 +0000 (00:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60732 91177308-0d34-0410-b5e6-96231b3b80d8

Driver/AnalysisConsumer.cpp

index 14b4440695f96e86db8f00d78dfebcc6d0c5a8ec..3cffc20ea0b421df94f5b8ca13793bacd51b768b 100644 (file)
@@ -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);
       }