Replace inherited constructor with an explicit one
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Jan 2016 19:27:59 +0000 (19:27 +0000)
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>
Tue, 12 Jan 2016 19:27:59 +0000 (19:27 +0000)
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

lib/Target/Hexagon/HexagonRDFOpt.cpp

index e820b49..3fcda98 100644 (file)
@@ -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<InstrNode*> IA, SetVector<NodeId> &Remove);
   void removeOperand(NodeAddr<InstrNode*> IA, unsigned OpNum);