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

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


This fixes the lld-x86_64-darwin13 and sanitizer-ppc64-linux1 buildbot failures.
Teresa

On Sun, Oct 4, 2015 at 8:00 AM, Teresa Johnson via llvm-commits
<llvm-commits at lists.llvm.org> wrote:
> 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) {}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



-- 
Teresa Johnson | Software Engineer | tejohnson at google.com | 408-460-2413


More information about the llvm-commits mailing list