aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/MC
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-27 00:38:04 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-27 00:38:04 +0000
commit81e400092f55c2eba157172bfc0dd0df8317638d (patch)
tree05e69c5c76ce3aefee321fc81238e97a9a4e32cb /include/llvm/MC
parent7e7f06e70a07be4a5fad81883da6bebf33e1b3f6 (diff)
downloadexternal_llvm-81e400092f55c2eba157172bfc0dd0df8317638d.zip
external_llvm-81e400092f55c2eba157172bfc0dd0df8317638d.tar.gz
external_llvm-81e400092f55c2eba157172bfc0dd0df8317638d.tar.bz2
Try to make MSVC just a little happier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC')
-rw-r--r--include/llvm/MC/MCAssembler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index daa3ffe..6f9149b 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -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; }