forked from OSchip/llvm-project
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
This commit is contained in:
parent
c018115480
commit
89488fffdd
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue