mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
Fix the build after r314375
r314375 privatized Loop's constructor and replaced it with an Allocator. llvm-svn: 314412
This commit is contained in:
parent
8af01573a3
commit
859ef1c09e
@ -191,7 +191,7 @@ public:
|
||||
InvalidateCurrentScop = true;
|
||||
|
||||
Worklist.erase(&S.getRegion());
|
||||
SAM.clear(S);
|
||||
SAM.clear(S, S.getName());
|
||||
}
|
||||
|
||||
private:
|
||||
|
@ -106,7 +106,7 @@ bool ScopAnalysisManagerFunctionProxy::Result::invalidate(
|
||||
for (auto &S : *SI)
|
||||
if (auto *scop = S.second.get())
|
||||
if (InnerAM)
|
||||
InnerAM->clear(*scop);
|
||||
InnerAM->clear(*scop, scop->getName());
|
||||
|
||||
InnerAM = nullptr;
|
||||
return true; // Invalidate the proxy result as well.
|
||||
|
@ -74,7 +74,7 @@ Value *polly::createLoop(Value *LB, Value *UB, Value *Stride,
|
||||
|
||||
// Update LoopInfo
|
||||
Loop *OuterLoop = LI.getLoopFor(BeforeBB);
|
||||
Loop *NewLoop = new Loop();
|
||||
Loop *NewLoop = LI.AllocateLoop();
|
||||
|
||||
if (OuterLoop)
|
||||
OuterLoop->addChildLoop(NewLoop);
|
||||
|
Loading…
Reference in New Issue
Block a user