aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-02-13 09:28:15 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-02-13 09:28:15 +0000
commit3a30b827a5c9bf0ed8f31177b6e447083ce9afec (patch)
tree21f21c9a17acaad0841ba79f2576eceee2c384e6 /include
parentb7c3a4b195597848e7c2559937914ae1087f3131 (diff)
downloadexternal_llvm-3a30b827a5c9bf0ed8f31177b6e447083ce9afec.zip
external_llvm-3a30b827a5c9bf0ed8f31177b6e447083ce9afec.tar.gz
external_llvm-3a30b827a5c9bf0ed8f31177b6e447083ce9afec.tar.bz2
MCAssembler: Start applying fixups in the data section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96090 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/MC/MCAssembler.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h
index 004ecce..acb1415 100644
--- a/include/llvm/MC/MCAssembler.h
+++ b/include/llvm/MC/MCAssembler.h
@@ -130,17 +130,14 @@ public:
return 0;
}
- std::vector<MCAsmFixup> &getFixups() {
- return Fixups;
- }
+ std::vector<MCAsmFixup> &getFixups() { return Fixups; }
+ const std::vector<MCAsmFixup> &getFixups() const { return Fixups; }
- fixup_iterator fixup_begin() {
- return Fixups.begin();
- }
+ fixup_iterator fixup_begin() { return Fixups.begin(); }
+ const_fixup_iterator fixup_begin() const { return Fixups.begin(); }
- fixup_iterator fixup_end() {
- return Fixups.end();
- }
+ fixup_iterator fixup_end() {return Fixups.end();}
+ const_fixup_iterator fixup_end() const {return Fixups.end();}
size_t fixup_size() const { return Fixups.size(); }