From 54c3ca694a690a6b49ef2bd4ca4a300c1b205e63 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Sat, 7 Nov 2015 01:56:04 +0000 Subject: [OperandBundles] Rename accessor, NFC Rename getOperandBundle to getOperandBundleAt since that's more obvious. llvm-svn: 252388 --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp') 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) -- cgit v1.2.3