aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/BasicBlock.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-28 22:57:00 +0000
committerChris Lattner <sabre@nondot.org>2006-06-28 22:57:00 +0000
commit9ef7e06ccef062dfa5df516913b12b7c3ca17805 (patch)
tree0c584985a01c0c82c6bb24db68a73c122d13cdf8 /lib/VMCore/BasicBlock.cpp
parentf8c68f694c25b1ae8c0e5adb2a19432cb405d232 (diff)
Use hidden visibility to reduce codesize
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28974 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
-rw-r--r--lib/VMCore/BasicBlock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/VMCore/BasicBlock.cpp b/lib/VMCore/BasicBlock.cpp
index 1b7100c68b..13907c1038 100644
--- a/lib/VMCore/BasicBlock.cpp
+++ b/lib/VMCore/BasicBlock.cpp
@@ -17,6 +17,7 @@
#include "llvm/Type.h"
#include "llvm/Support/CFG.h"
#include "llvm/Support/LeakDetector.h"
+#include "llvm/Support/Visibility.h"
#include "SymbolTableListTraitsImpl.h"
#include <algorithm>
using namespace llvm;
@@ -24,7 +25,7 @@ using namespace llvm;
namespace {
/// DummyInst - An instance of this class is used to mark the end of the
/// instruction list. This is not a real instruction.
- struct DummyInst : public Instruction {
+ struct VISIBILITY_HIDDEN DummyInst : public Instruction {
DummyInst() : Instruction(Type::VoidTy, OtherOpsEnd, 0, 0) {
// This should not be garbage monitored.
LeakDetector::removeGarbageObject(this);