mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Replace uses of the deprecated std::auto_ptr with OwningPtr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179373 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -78,7 +78,7 @@ class RAGreedy : public MachineFunctionPass,
|
||||
LiveDebugVariables *DebugVars;
|
||||
|
||||
// state
|
||||
std::auto_ptr<Spiller> SpillerInstance;
|
||||
OwningPtr<Spiller> SpillerInstance;
|
||||
std::priority_queue<std::pair<unsigned, unsigned> > Queue;
|
||||
unsigned NextCascade;
|
||||
|
||||
@@ -166,8 +166,8 @@ class RAGreedy : public MachineFunctionPass,
|
||||
};
|
||||
|
||||
// splitting state.
|
||||
std::auto_ptr<SplitAnalysis> SA;
|
||||
std::auto_ptr<SplitEditor> SE;
|
||||
OwningPtr<SplitAnalysis> SA;
|
||||
OwningPtr<SplitEditor> SE;
|
||||
|
||||
/// Cached per-block interference maps
|
||||
InterferenceCache IntfCache;
|
||||
|
Reference in New Issue
Block a user