Update Driver to new interface for LiveVariables.

llvm-svn: 60732
This commit is contained in:
Ted Kremenek 2008-12-09 00:17:51 +00:00
parent d7266bf20a
commit 08134c984b
1 changed files with 1 additions and 1 deletions

View 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);
}