diff options
author | Matthias Braun <matze@braunis.de> | 2017-12-15 22:22:42 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-12-15 22:22:42 +0000 |
commit | 89488fffddc65ae22d62608adb506085df5f6daf (patch) | |
tree | 590f43becbb89dbbb2691e4ded09b351e03542ae | |
parent | c018115480e6b360b0ddab8698a0efad49567d73 (diff) | |
download | bcm5719-llvm-89488fffddc65ae22d62608adb506085df5f6daf.tar.gz bcm5719-llvm-89488fffddc65ae22d62608adb506085df5f6daf.zip |
MachineModuleInfo: Remove unused function; NFC
Remove the unused setModule() function; it would be dangerous if someone
actually used it as it wouldn't reset/recompute various other module
related data.
llvm-svn: 320881
-rw-r--r-- | llvm/include/llvm/CodeGen/MachineModuleInfo.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineModuleInfo.h b/llvm/include/llvm/CodeGen/MachineModuleInfo.h index 7b57a407b4b..6be304fa368 100644 --- a/llvm/include/llvm/CodeGen/MachineModuleInfo.h +++ b/llvm/include/llvm/CodeGen/MachineModuleInfo.h @@ -155,7 +155,6 @@ public: const MCContext &getContext() const { return Context; } MCContext &getContext() { return Context; } - void setModule(const Module *M) { TheModule = M; } const Module *getModule() const { return TheModule; } /// Returns the MachineFunction constructed for the IR function \p F. |