summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2015-10-04 15:00:55 +0000
committerTeresa Johnson <tejohnson@google.com>2015-10-04 15:00:55 +0000
commit19f517a7d79eb2e8aa10fe00efe995ea0c6be3ef (patch)
treebe45fffb6919898a10d62022cd7387af159425fb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentf17a78ef63eb18ff975e85b10bdfd3e5d262713d (diff)
downloadbcm5719-llvm-19f517a7d79eb2e8aa10fe00efe995ea0c6be3ef.tar.gz
bcm5719-llvm-19f517a7d79eb2e8aa10fe00efe995ea0c6be3ef.zip
Remove unused private field introduced by r249270.
llvm-svn: 249277
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index c93b4af11ca..2893eaef0fb 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -400,7 +400,6 @@ private:
/// Class to manage reading and parsing function summary index bitcode
/// files/sections.
class FunctionIndexBitcodeReader {
- LLVMContext &Context;
DiagnosticHandlerFunction DiagnosticHandler;
/// Eventually points to the function index built during parsing.
@@ -5170,8 +5169,7 @@ FunctionIndexBitcodeReader::FunctionIndexBitcodeReader(
MemoryBuffer *Buffer, LLVMContext &Context,
DiagnosticHandlerFunction DiagnosticHandler, bool IsLazy,
bool CheckFuncSummaryPresenceOnly)
- : Context(Context),
- DiagnosticHandler(getDiagHandler(DiagnosticHandler, Context)),
+ : DiagnosticHandler(getDiagHandler(DiagnosticHandler, Context)),
Buffer(Buffer),
IsLazy(IsLazy),
CheckFuncSummaryPresenceOnly(CheckFuncSummaryPresenceOnly) {}
@@ -5179,8 +5177,7 @@ FunctionIndexBitcodeReader::FunctionIndexBitcodeReader(
FunctionIndexBitcodeReader::FunctionIndexBitcodeReader(
LLVMContext &Context, DiagnosticHandlerFunction DiagnosticHandler,
bool IsLazy, bool CheckFuncSummaryPresenceOnly)
- : Context(Context),
- DiagnosticHandler(getDiagHandler(DiagnosticHandler, Context)),
+ : DiagnosticHandler(getDiagHandler(DiagnosticHandler, Context)),
Buffer(nullptr),
IsLazy(IsLazy),
CheckFuncSummaryPresenceOnly(CheckFuncSummaryPresenceOnly) {}
OpenPOWER on IntegriCloud