1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Remove automagic support for Modules. Noone uses it now anyways, and GCC 3.4 doesn't want us to do this unless Module has been #included

llvm-svn: 8216
This commit is contained in:
Chris Lattner 2003-08-29 14:48:21 +00:00
parent 9047331cc7
commit 3521199bc1

View File

@ -78,12 +78,8 @@ struct InstVisitor {
((SubClass*)this)->visit(*Start++);
}
// Define visitors for modules, functions and basic blocks...
// Define visitors for functions and basic blocks...
//
void visit(Module &M) {
((SubClass*)this)->visitModule(M);
visit(M.begin(), M.end());
}
void visit(Function &F) {
((SubClass*)this)->visitFunction(F);
visit(F.begin(), F.end());
@ -123,7 +119,6 @@ struct InstVisitor {
// When visiting a module, function or basic block directly, these methods get
// called to indicate when transitioning into a new unit.
//
void visitModule (Module &M) {}
void visitFunction (Function &F) {}
void visitBasicBlock(BasicBlock &BB) {}