Convert two uses of uintX_t. NFC.

llvm-svn: 297059
This commit is contained in:
Rafael Espindola 2017-03-06 20:04:47 +00:00
parent 961b002714
commit 77408b067c
2 changed files with 5 additions and 6 deletions

View File

@ -2136,8 +2136,9 @@ template <class ELFT> bool VersionNeedSection<ELFT>::empty() const {
template <class ELFT>
MergeSyntheticSection<ELFT>::MergeSyntheticSection(StringRef Name,
uint32_t Type, uintX_t Flags,
uintX_t Alignment)
uint32_t Type,
uint64_t Flags,
uint64_t Alignment)
: SyntheticSection(Flags, Type, Alignment, Name),
Builder(StringTableBuilder::RAW, Alignment) {}

View File

@ -642,11 +642,9 @@ public:
// attached to regular output sections.
template <class ELFT>
class MergeSyntheticSection final : public SyntheticSection {
typedef typename ELFT::uint uintX_t;
public:
MergeSyntheticSection(StringRef Name, uint32_t Type, uintX_t Flags,
uintX_t Alignment);
MergeSyntheticSection(StringRef Name, uint32_t Type, uint64_t Flags,
uint64_t Alignment);
void addSection(MergeInputSection<ELFT> *MS);
void writeTo(uint8_t *Buf) override;
void finalizeContents() override;