[ValueMapper] Remove unused declaration remapFunction (NFC)
authorKazu Hirata <kazu@google.com>
Mon, 23 Nov 2020 05:52:03 +0000 (21:52 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 23 Nov 2020 05:52:03 +0000 (21:52 -0800)
The function declaration with two parameters was introduced on Apr 16
2016 in commit f0d73f95c15f909c6034f1735632695248bb75a8 without a
corresponding definition.

llvm/lib/Transforms/Utils/ValueMapper.cpp

index ec57693..fac7b55 100644 (file)
@@ -172,7 +172,6 @@ private:
                             bool IsOldCtorDtor,
                             ArrayRef<Constant *> NewMembers);
   void mapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target);
-  void remapFunction(Function &F, ValueToValueMapTy &VM);
 
   ValueToValueMapTy &getVM() { return *MCs[CurrentMCID].VM; }
   ValueMaterializer *getMaterializer() { return MCs[CurrentMCID].Materializer; }