[llvm] r249277 - Remove unused private field introduced by r249270.

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 4 08:00:55 PDT 2015


Author: tejohnson
Date: Sun Oct  4 10:00:55 2015
New Revision: 249277

URL: http://llvm.org/viewvc/llvm-project?rev=249277&view=rev
Log:
Remove unused private field introduced by r249270.

Modified:
    llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp

Modified: llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp?rev=249277&r1=249276&r2=249277&view=diff
==============================================================================
--- llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp (original)
+++ llvm/trunk/lib/Bitcode/Reader/BitcodeReader.cpp Sun Oct  4 10:00:55 2015
@@ -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::FunctionInde
     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::FunctionInde
 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) {}




More information about the llvm-commits mailing list