Remove LatencyPriorityQueue::dump because it relies on an implicit copy ctor which...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:16:56 +0000 (21:16 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 3 Mar 2015 21:16:56 +0000 (21:16 +0000)
commitfd9cb11cd4d26ca943c7635bd19994cc3b073af8
treed417aa24f991682f2419bafed6522ce2c07712d6
parent0685d0667486b6bda31f035e7087b33d7881a936
Remove LatencyPriorityQueue::dump because it relies on an implicit copy ctor which is deprecated in C++11 (due to the presence of a user-declare dtor in the base class)

This type could be made copyable (= default a protected copy ctor in the
base class, and preferably make the derived class final to avoid risks
of providing a slicing copy operation to further derived classes) but it
seemed easier to avoid that complexity for a dump function that I assume
(by symmetry with ResourcePriorityQueue's dump, which was actively
buggy) not often used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231133 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LatencyPriorityQueue.h
lib/CodeGen/LatencyPriorityQueue.cpp