aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/TargetData.cpp')
-rw-r--r--lib/Target/TargetData.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Target/TargetData.cpp b/lib/Target/TargetData.cpp
index a4b58a070c..e482e201f2 100644
--- a/lib/Target/TargetData.cpp
+++ b/lib/Target/TargetData.cpp
@@ -29,7 +29,6 @@
#include "llvm/ADT/DenseMap.h"
#include <algorithm>
#include <cstdlib>
-#include <ostream>
using namespace llvm;
// Handle the Pass registration stuff necessary to use TargetData's.
@@ -118,14 +117,6 @@ TargetAlignElem::operator==(const TargetAlignElem &rhs) const {
&& TypeBitWidth == rhs.TypeBitWidth);
}
-std::ostream &
-TargetAlignElem::dump(std::ostream &os) const {
- return os << AlignType
- << TypeBitWidth
- << ":" << (int) (ABIAlign * 8)
- << ":" << (int) (PrefAlign * 8);
-}
-
const TargetAlignElem TargetData::InvalidAlignmentElem =
TargetAlignElem::get((AlignTypeEnum) -1, 0, 0, 0);