mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-06 09:44:39 +00:00
[PBQP] Tidying up as per Dave Blaikie's suggesions for r220642.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2666eacaf5
commit
ce3a612d3a
@ -109,9 +109,9 @@ public:
|
||||
RS = Other.RS;
|
||||
NumOpts = Other.NumOpts;
|
||||
DeniedOpts = Other.DeniedOpts;
|
||||
OptUnsafeEdges = std::unique_ptr<unsigned[]>(new unsigned[NumOpts]);
|
||||
std::copy(&Other.OptUnsafeEdges[0], &Other.OptUnsafeEdges[NumOpts],
|
||||
&OptUnsafeEdges[0]);
|
||||
OptUnsafeEdges.reset(new unsigned[NumOpts]);
|
||||
std::copy(Other.OptUnsafeEdges.get(), Other.OptUnsafeEdges.get() + NumOpts,
|
||||
OptUnsafeEdges.get());
|
||||
VReg = Other.VReg;
|
||||
OptionRegs = Other.OptionRegs;
|
||||
return *this;
|
||||
|
Loading…
x
Reference in New Issue
Block a user