summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-10-19 19:06:06 +0000
committerTeresa Johnson <tejohnson@google.com>2015-10-19 19:06:06 +0000
commit3da931f87a11de769e27f5687db5a45c90a9a12e (patch)
treeb9a8c8ab7847bd286749d38cd38be3741eccecdb /llvm/include
parent2b9e24c02c927777f4de848243d1c4f1b0307201 (diff)
downloadbcm5719-llvm-3da931f87a11de769e27f5687db5a45c90a9a12e.tar.gz
bcm5719-llvm-3da931f87a11de769e27f5687db5a45c90a9a12e.zip
Pass FunctionInfoIndex by reference to WriteFunctionSummaryToFile (NFC)
Implemented suggestion by dblakie in review for r250704. llvm-svn: 250723
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Bitcode/ReaderWriter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Bitcode/ReaderWriter.h b/llvm/include/llvm/Bitcode/ReaderWriter.h
index 18715844c52..938edf278f7 100644
--- a/llvm/include/llvm/Bitcode/ReaderWriter.h
+++ b/llvm/include/llvm/Bitcode/ReaderWriter.h
@@ -101,7 +101,7 @@ namespace llvm {
/// Write the specified function summary index to the given raw output stream,
/// where it will be written in a new bitcode block. This is used when
/// writing the combined index file for ThinLTO.
- void WriteFunctionSummaryToFile(const FunctionInfoIndex *Index,
+ void WriteFunctionSummaryToFile(const FunctionInfoIndex &Index,
raw_ostream &Out);
/// isBitcodeWrapper - Return true if the given bytes are the magic bytes
OpenPOWER on IntegriCloud