mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Try to make MSVC just a little happier.
llvm-svn: 80187
This commit is contained in:
parent
60fae1b2a2
commit
efbcc2daf9
@ -287,7 +287,7 @@ public:
|
||||
|
||||
private:
|
||||
iplist<MCFragment> Fragments;
|
||||
const MCSection &Section;
|
||||
const MCSection *Section;
|
||||
|
||||
/// Alignment - The maximum alignment seen in this section.
|
||||
unsigned Alignment;
|
||||
@ -321,7 +321,7 @@ public:
|
||||
MCSectionData();
|
||||
MCSectionData(const MCSection &Section, MCAssembler *A = 0);
|
||||
|
||||
const MCSection &getSection() const { return Section; }
|
||||
const MCSection &getSection() const { return *Section; }
|
||||
|
||||
unsigned getAlignment() const { return Alignment; }
|
||||
void setAlignment(unsigned Value) { Alignment = Value; }
|
||||
|
@ -829,10 +829,10 @@ uint64_t MCFragment::getAddress() const {
|
||||
|
||||
/* *** */
|
||||
|
||||
MCSectionData::MCSectionData() : Section(*(MCSection*)0) {}
|
||||
MCSectionData::MCSectionData() : Section(0) {}
|
||||
|
||||
MCSectionData::MCSectionData(const MCSection &_Section, MCAssembler *A)
|
||||
: Section(_Section),
|
||||
: Section(&_Section),
|
||||
Alignment(1),
|
||||
Address(~UINT64_C(0)),
|
||||
Size(~UINT64_C(0)),
|
||||
|
Loading…
Reference in New Issue
Block a user