mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
[C++11] Replace OwningPtr with std::unique_ptr in places where it doesn't break the API.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#define LLVM_CODEGEN_LIVEREGMATRIX_H
|
||||
|
||||
#include "llvm/ADT/BitVector.h"
|
||||
#include "llvm/ADT/OwningPtr.h"
|
||||
#include "llvm/CodeGen/LiveIntervalUnion.h"
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
|
||||
@@ -51,7 +50,7 @@ class LiveRegMatrix : public MachineFunctionPass {
|
||||
LiveIntervalUnion::Array Matrix;
|
||||
|
||||
// Cached queries per register unit.
|
||||
OwningArrayPtr<LiveIntervalUnion::Query> Queries;
|
||||
std::unique_ptr<LiveIntervalUnion::Query[]> Queries;
|
||||
|
||||
// Cached register mask interference info.
|
||||
unsigned RegMaskTag;
|
||||
|
Reference in New Issue
Block a user