Remove unused private field introduced by r249270.
authorTeresa Johnson <tejohnson@google.com>
Sun, 4 Oct 2015 15:00:55 +0000 (15:00 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sun, 4 Oct 2015 15:00:55 +0000 (15:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249277 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bitcode/Reader/BitcodeReader.cpp

index c93b4af11ca628e92ef3011ceb09ffa19aee90af..2893eaef0fb14982c0de7b172460969d67e20c42 100644 (file)
@@ -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) {}