Skip to content

Commit

Permalink
[ValueMapper] Remove unused declaration remapFunction (NFC)
Browse files Browse the repository at this point in the history
The function declaration with two parameters was introduced on Apr 16
2016 in commit f0d73f9 without a
corresponding definition.
  • Loading branch information
kazutakahirata committed Nov 23, 2020
1 parent 186d129 commit df73b8c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Transforms/Utils/ValueMapper.cpp
Expand Up @@ -172,7 +172,6 @@ class Mapper {
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; }
Expand Down

0 comments on commit df73b8c

Please sign in to comment.