diff options
author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-04-12 10:56:28 +0000 |
---|---|---|
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | 2013-04-12 10:56:28 +0000 |
commit | 200241e4de11981523b3d14f3acab6129efed701 (patch) | |
tree | 265e6f10406344d11ebacd61bcb9d6a261a15c82 /lib/CodeGen/RegAllocGreedy.cpp | |
parent | 71c1b228552ece06003d744b815f669dbfbb0772 (diff) | |
download | llvm-200241e4de11981523b3d14f3acab6129efed701.tar.gz llvm-200241e4de11981523b3d14f3acab6129efed701.tar.bz2 llvm-200241e4de11981523b3d14f3acab6129efed701.tar.xz |
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
Diffstat (limited to 'lib/CodeGen/RegAllocGreedy.cpp')
-rw-r--r-- | lib/CodeGen/RegAllocGreedy.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CodeGen/RegAllocGreedy.cpp b/lib/CodeGen/RegAllocGreedy.cpp index 6d84176af2..9eed1fc62a 100644 --- a/lib/CodeGen/RegAllocGreedy.cpp +++ b/lib/CodeGen/RegAllocGreedy.cpp @@ -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; |