commit | 95777550a977f970c0a9b92a5428c988f2f7db36 | [log] [tgz] |
---|---|---|
author | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Apr 12 10:56:28 2013 +0000 |
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | Fri Apr 12 10:56:28 2013 +0000 |
tree | 4758ee8daa4394aabaa4d7af932dd3fc0cce9a85 | |
parent | 92a31305099285290f11bed8b444d121c3fbfee3 [diff] [blame] |
Replace uses of the deprecated std::auto_ptr with OwningPtr. llvm-svn: 179373
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index 0b6dc68..7fcfe9e 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp
@@ -63,7 +63,7 @@ MachineFunction *MF; // state - std::auto_ptr<Spiller> SpillerInstance; + OwningPtr<Spiller> SpillerInstance; std::priority_queue<LiveInterval*, std::vector<LiveInterval*>, CompSpillWeight> Queue;