From 6bdc41a33b9c4e52a33e5c1ddaf87652a418ab45 Mon Sep 17 00:00:00 2001 From: Quentin Colombet Date: Wed, 6 Apr 2016 18:37:44 +0000 Subject: [PATCH] [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. llvm-svn: 265584 --- llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h b/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h index ff57905..7155bd3 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h @@ -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; } -- 2.7.4