forked from OSchip/llvm-project
[regalloc] Fix GCC warning `-Wattributes`. NFC.
- Mark it with LLVM_LIBRARY_VISIBILITY to preserve the legacy visibility.
This commit is contained in:
parent
95f9eddbbc
commit
56ec762a76
|
@ -69,9 +69,9 @@
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
class RAGreedy : public MachineFunctionPass,
|
class LLVM_LIBRARY_VISIBILITY RAGreedy : public MachineFunctionPass,
|
||||||
public RegAllocBase,
|
public RegAllocBase,
|
||||||
private LiveRangeEdit::Delegate {
|
private LiveRangeEdit::Delegate {
|
||||||
// Convenient shortcuts.
|
// Convenient shortcuts.
|
||||||
using PQueue = std::priority_queue<std::pair<unsigned, unsigned>>;
|
using PQueue = std::priority_queue<std::pair<unsigned, unsigned>>;
|
||||||
using SmallLISet = SmallPtrSet<LiveInterval *, 4>;
|
using SmallLISet = SmallPtrSet<LiveInterval *, 4>;
|
||||||
|
|
Loading…
Reference in New Issue