aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 00:39:59 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-07 00:39:59 +0000
commit5dcf621c8a7bdaa6ddddeef28b5544ee453d0dcd (patch)
treeb5b99314c6bf1c1cf2aeff3043370792e7cf89cd /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent7cf5fedbada3a8258e762f369100e3f3064b81cb (diff)
downloadllvm-5dcf621c8a7bdaa6ddddeef28b5544ee453d0dcd.zip
llvm-5dcf621c8a7bdaa6ddddeef28b5544ee453d0dcd.tar.gz
llvm-5dcf621c8a7bdaa6ddddeef28b5544ee453d0dcd.tar.bz2
IR: Rename MDSubrange::getLo() to getLowerBound()
During initial review, the `lo:` field was renamed to `lowerBound:`. Make the same change to the C++ API. llvm-svn: 234267
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
-rw-r--r--llvm/lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
index 71ba01e..d186367 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -821,7 +821,7 @@ static void WriteMDSubrange(const MDSubrange *N, const ValueEnumerator &,
unsigned Abbrev) {
Record.push_back(N->isDistinct());
Record.push_back(N->getCount());
- Record.push_back(rotateSign(N->getLo()));
+ Record.push_back(rotateSign(N->getLowerBound()));
Stream.EmitRecord(bitc::METADATA_SUBRANGE, Record, Abbrev);
Record.clear();