summaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAllocBase.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-09-11 17:42:27 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-09-11 17:42:27 +0000
commit15f387c93ef8d5c23f110143996c8b9b4a089864 (patch)
treec05dd44a175d30a5e34ed8d21ecea848a8c1f776 /lib/CodeGen/RegAllocBase.h
parent209a8c8e35cd770d483d597c4eb703a4ee8b0003 (diff)
Give internal classes hidden visibility.
Worth 100k on a linux/x86_64 Release+Asserts clang. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190534 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r--lib/CodeGen/RegAllocBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h
index 9c0029837d0..597b1fcb586 100644
--- a/lib/CodeGen/RegAllocBase.h
+++ b/lib/CodeGen/RegAllocBase.h
@@ -56,7 +56,7 @@ class Spiller;
/// Register allocators must override the selectOrSplit() method to implement
/// live range splitting. They must also override enqueue/dequeue to provide an
/// assignment order.
-class RegAllocBase {
+class LLVM_LIBRARY_VISIBILITY RegAllocBase {
protected:
const TargetRegisterInfo *TRI;
MachineRegisterInfo *MRI;