From: Teresa Johnson Date: Sun, 4 Oct 2015 15:00:55 +0000 (+0000) Subject: Remove unused private field introduced by r249270. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=5b23a6406fa983607a5864db9f14ff3595464cc4;hp=b97baa5fe54954247e143e702201364284b54345 Remove unused private field introduced by r249270. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249277 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Bitcode/Reader/BitcodeReader.cpp b/lib/Bitcode/Reader/BitcodeReader.cpp index c93b4af11ca..2893eaef0fb 100644 --- a/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/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) {}