Remove unused private field introduced by r249270.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249277 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Teresa Johnson
2015-10-04 15:00:55 +00:00
parent b97baa5fe5
commit 5b23a6406f

View 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) {}