зеркало из https://github.com/microsoft/clang.git
Update Driver to new interface for LiveVariables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
8322d6a4fc
Коммит
ca9bab0dcb
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче