mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Clean up the lazy initialization of DIBuilder a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131956 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -602,13 +602,12 @@ namespace {
|
||||
SmallPtrSet<Value*, 4> &PointerMustAliases;
|
||||
SmallVectorImpl<BasicBlock*> &LoopExitBlocks;
|
||||
AliasSetTracker &AST;
|
||||
DIBuilder *DIB; // Only passed to LoadAndStorePromoter.
|
||||
public:
|
||||
LoopPromoter(Value *SP,
|
||||
const SmallVectorImpl<Instruction*> &Insts, SSAUpdater &S,
|
||||
SmallPtrSet<Value*, 4> &PMA,
|
||||
SmallVectorImpl<BasicBlock*> &LEB, AliasSetTracker &ast)
|
||||
: LoadAndStorePromoter(Insts, S, 0, DIB), SomePtr(SP),
|
||||
: LoadAndStorePromoter(Insts, S, 0, 0), SomePtr(SP),
|
||||
PointerMustAliases(PMA), LoopExitBlocks(LEB), AST(ast) {}
|
||||
|
||||
virtual bool isInstInList(Instruction *I,
|
||||
|
Reference in New Issue
Block a user