File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
llvm/include/llvm/CodeGen Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -192,12 +192,6 @@ class MachineModuleInfo {
192
192
unsigned getCurrentCallSite () { return CurCallSite; }
193
193
194
194
// / \}
195
-
196
- // MMI owes MCContext. It should never be invalidated.
197
- bool invalidate (Module &, const PreservedAnalyses &,
198
- ModuleAnalysisManager::Invalidator &) {
199
- return false ;
200
- }
201
195
}; // End class MachineModuleInfo
202
196
203
197
class MachineModuleInfoWrapperPass : public ImmutablePass {
@@ -237,6 +231,12 @@ class MachineModuleAnalysis : public AnalysisInfoMixin<MachineModuleAnalysis> {
237
231
238
232
public:
239
233
MachineModuleInfo &getMMI () { return MMI; }
234
+
235
+ // MMI owes MCContext. It should never be invalidated.
236
+ bool invalidate (Module &, const PreservedAnalyses &,
237
+ ModuleAnalysisManager::Invalidator &) {
238
+ return false ;
239
+ }
240
240
};
241
241
242
242
MachineModuleAnalysis (MachineModuleInfo &MMI) : MMI(MMI) {}
You can’t perform that action at this time.
0 commit comments