summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2015-11-07 01:56:04 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2015-11-07 01:56:04 +0000
commit54c3ca694a690a6b49ef2bd4ca4a300c1b205e63 (patch)
tree01e07cbe703057fdaba713c6479b66816493db1f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent71fe81fd2502fda03249bd1eb242ea7ddb3fc5ee (diff)
downloadbcm5719-llvm-54c3ca694a690a6b49ef2bd4ca4a300c1b205e63.tar.gz
bcm5719-llvm-54c3ca694a690a6b49ef2bd4ca4a300c1b205e63.zip
[OperandBundles] Rename accessor, NFC
Rename getOperandBundle to getOperandBundleAt since that's more obvious. llvm-svn: 252388
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 b88e55c92cb..7497535d561 100644
--- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1738,7 +1738,7 @@ static void WriteOperandBundles(BitstreamWriter &Stream, ImmutableCallSite CS,
LLVMContext &C = CS.getInstruction()->getContext();
for (unsigned i = 0, e = CS.getNumOperandBundles(); i != e; ++i) {
- const auto &Bundle = CS.getOperandBundle(i);
+ const auto &Bundle = CS.getOperandBundleAt(i);
Record.push_back(C.getOperandBundleTagID(Bundle.Tag));
for (auto &Input : Bundle.Inputs)
OpenPOWER on IntegriCloud