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 | 95777550a977f970c0a9b92a5428c988f2f7db36 (patch) | |
tree | 4758ee8daa4394aabaa4d7af932dd3fc0cce9a85 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
parent | 92a31305099285290f11bed8b444d121c3fbfee3 (diff) | |
download | bcm5719-llvm-95777550a977f970c0a9b92a5428c988f2f7db36.tar.gz bcm5719-llvm-95777550a977f970c0a9b92a5428c988f2f7db36.zip |
Replace uses of the deprecated std::auto_ptr with OwningPtr.
llvm-svn: 179373
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBasic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index 0b6dc68cdf0..7fcfe9e88be 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp @@ -63,7 +63,7 @@ class RABasic : public MachineFunctionPass, public RegAllocBase MachineFunction *MF; // state - std::auto_ptr<Spiller> SpillerInstance; + OwningPtr<Spiller> SpillerInstance; std::priority_queue<LiveInterval*, std::vector<LiveInterval*>, CompSpillWeight> Queue; |