From: Krzysztof Parzyszek Date: Tue, 12 Jan 2016 19:27:59 +0000 (+0000) Subject: Replace inherited constructor with an explicit one X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=9d327232e34ea4c7ed07f420b3595869121e4c1d Replace inherited constructor with an explicit one Some bots failed when the inherited constructor was used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257508 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Hexagon/HexagonRDFOpt.cpp b/lib/Target/Hexagon/HexagonRDFOpt.cpp index e820b49e047..3fcda984d26 100644 --- a/lib/Target/Hexagon/HexagonRDFOpt.cpp +++ b/lib/Target/Hexagon/HexagonRDFOpt.cpp @@ -72,8 +72,8 @@ INITIALIZE_PASS_END(HexagonRDFOpt, "rdfopt", "Hexagon RDF opt", false, false) struct HexagonDCE : public DeadCodeElimination { - using DeadCodeElimination::DeadCodeElimination; - + HexagonDCE(DataFlowGraph &G, MachineRegisterInfo &MRI) + : DeadCodeElimination(G, MRI) {} bool rewrite(NodeAddr IA, SetVector &Remove); void removeOperand(NodeAddr IA, unsigned OpNum);