[llvm] r265584 - [RegisterBankInfo] Call the other constructor of InstructionMapping from the
Quentin Colombet via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 11:37:44 PDT 2016
Author: qcolombet
Date: Wed Apr 6 13:37:44 2016
New Revision: 265584
URL: http://llvm.org/viewvc/llvm-project?rev=265584&view=rev
Log:
[RegisterBankInfo] Call the other constructor of InstructionMapping from the
default constructor, instead of relying on the default constructor of
unique_ptr.
Second attempt at fixing the windows bot.
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h?rev=265584&r1=265583&r2=265584&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h Wed Apr 6 13:37:44 2016
@@ -107,7 +107,7 @@ public:
/// Default constructor.
/// Use this constructor to express that the mapping is invalid.
- InstructionMapping() : ID(InvalidMappingID), Cost(0), NumOperands(0) {}
+ InstructionMapping() : InstructionMapping(InvalidMappingID, 0, 0) {}
/// Get the cost.
unsigned getCost() const { return Cost; }
More information about the llvm-commits
mailing list