mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-03 00:33:09 +00:00
remove some dead std::ostream using code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7896c9f436
commit
35e86af8e5
@ -59,8 +59,6 @@ struct TargetAlignElem {
|
||||
unsigned char pref_align, uint32_t bit_width);
|
||||
/// Equality predicate
|
||||
bool operator==(const TargetAlignElem &rhs) const;
|
||||
/// output stream operator
|
||||
std::ostream &dump(std::ostream &os) const;
|
||||
};
|
||||
|
||||
class TargetData : public ImmutablePass {
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user